![]() ![]() Videos from platforms other than Youtube may work, but playlists won't.When downloading more videos with the exact same name only the first one is going to be downloaded, and it's going to be saved using the metadata of the last one.Video ids and playlist ids are automatically distinguished, but if an id refers both to a playlist and to a video only the playlist is downloaded.Automatically renames files whose corresponding video changed name.To check if a song has already been downloaded uses the video id saved at the end of the filename, not its file name.yt_dlp.YoutubeDL is set up to download the best format that Youtube provides ("bestaudio/best") The songs are downloaded at the highest possible quality.It will install the following pip modules: yt-dlp mutagen. Install dependencies from requirements.txt using this command: python3 -m pip install -r requirements.txt.Requires either Python 3.6+ (older versions have not been tested).ResultĪfter the process finishes the folders my_songs (containing Jim Yosef - Smile _z-teFykRk0Y.mp3) and PLR0fgOhCSN8ilC2GWuPkipy8FRNp-m-7C (containing the playlist) should be in the directory the script is executed in. (*) Note that the command used for Python is not always python3: it could be py, python, python3.6 or others too. my_songs/ - PLR0fgOhCSN8ilC2GWuPkipy8FRNp-m-7C python3 song-downloader.py -delete z-teFykRk0Y. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |