Created
October 17, 2018 03:05
-
-
Save aaronsaderholm/b1ae93366b72f2fc78cef6d32b1caed9 to your computer and use it in GitHub Desktop.
youtube-dl a playlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# pip install youtube-dl | |
# This will only download the videos you have not already downloaded so you can run it nightly. | |
# Add "-x --audio-format mp3" to produce MP3s - but it will run the conversion every time you run the script. | |
youtube-dl \ | |
-icw \ | |
--write-description \ | |
--write-info-json \ | |
--write-annotations \ | |
--restrict-filenames \ | |
--output video_folder/%(title)s_%(id)s.%(ext)s" \ | |
"https://www.youtube.com/playlist?list=YOUR_PLAY_LIST_HERE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment