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 }
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

Advertisements