Given a txt file, use the content of each line to make a search on Youtube, download the first result and convert it to mp3
The script is a web scraper that given a search query for Youtube, fetch the link of the first video. Then the script gives the link to yt-dlp that downloads the video and convert it to mp3 (highest quality available) using ffmpeg. Always download the highest quality video available (to the maximum of 1080p)
*nix system
Install python3, ffmpeg then: Download the latest version of yt-dlp and put the yt-dlp
binary in a folder contained in your $PATH.
./run.sh input_playlist output_folder
And you'll get all the songs in list in different mp3 files in the output_folder