Skip to content

Python script for downloading music from a youtube playlist

License

Notifications You must be signed in to change notification settings

Mikk155/youtube-music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-music

Python script for downloading music from a youtube playlist

pip install -r requirements.txt

Run the script:

python3 main.py

It will now ask you for a youtube playlist url, provide one and press enter.

All the videos as mp3 files will now be downloaded into music/

You can alternativelly run the script with the argument -ignore to ignore all errors and keep iterating the playlist automatically without having to do any input:

python3 main.py -ignore

I use pytubefix due to pytube's issue #1894 that seems unsolved yet.