Skip to content

Instantly share code, notes, and snippets.

@synackme
Created March 4, 2014 08:21
Show Gist options
  • Save synackme/9342327 to your computer and use it in GitHub Desktop.
Save synackme/9342327 to your computer and use it in GitHub Desktop.
Download Entire YouTube Channel - all of a user's videos Download Entire YouTube Channel - all of a user's videos create the function then run 'yt-chanrip username' to download that user's entire channel. uses youtube-dl and the GData API. similar to http://www.commandlinefu.com/commands/view/3154/download-youtube-playlist
yt-chanrip() { for i in $(curl -s http://gdata.youtube.com/feeds/api/users/"$1"/uploads | grep -Eo "watch\?v=[^[:space:]\"\'\\]{11}" | uniq); do youtube-dl --title --no-overwrites http://youtube.com/"$i"; done }
yt-chanrip() { for i in $(curl -s http://gdata.youtube.com/feeds/api/users/"$1"/uploads | grep -Eo "watch\?v=[^[:space:]\"\'\\]{11}" | uniq); do youtube-dl --title --no-overwrites http://youtube.com/"$i"; done }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment