Last active
March 3, 2016 17:22
-
-
Save kawa-kokosowa/17784a4c44d6f2278dca to your computer and use it in GitHub Desktop.
Sync music on YouTube to Local Drive with youtube-dl
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
#!/bin/zsh | |
# Sync a youtube playlist as mp3 | |
# | |
# Requires youtube-dl: brew install youtube-dl | |
# | |
# Max quality. | |
youtube-dl -o "/Users/lillianlemmer/Music/Youtube/%(title)s.%(ext)s" \ | |
--extract-audio --audio-format mp3 --audio-quality 0 \ | |
--download-archive ~/.cache/youtube-dl/archive -q \ | |
--ignore-errors \ | |
'https://www.youtube.com/playlist?list=PLxLaYE2uXt1vFll3M2MHPdYWpVHpYiIng' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment