The RIAA just got GitHub to ban open source YouTube downloaders.
They don't want anyone to share this code:
mplayer $(echo -s "http://youtube.com/get_video.php?$(curl $youtube_url | sed -n "/watch_fullscreen/s;.*\(video_id.\+\)&title.*;\1;p")&fmt=22")
Note: this version probably doesn't work on most/all videos today after some more testing.
It is an iteration of one I wrote years ago:
$ curl -sL $youtube_url |grep watch_fullscreen
looks like there's no "watch_fullscreen" in the HTML. Oops.
And I didn't even pick a VEVO video - those have some extra obfuscation
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!