- Create url.txt file in root of the project
- Put YouTube links into the file (one link per line)
- Run the script. MP3's will be downloaded into output folder
You can configure the output folder or how many videos can be downloaded in parallel. For the whole config docs visit youtube-mp3-downloader
const YD = new YoutubeMp3Downloader({
"ffmpegPath": pathToFfmpeg,
"outputPath": "./output",
"youtubeVideoQuality": "highestaudio",
"queueParallelism": 40,
"progressTimeout": 2000
});