News for hackers. Stuff that matters.
Re:Youtube-dl by d0ugie on Sunday November 23, 2014 @09:33AM (#8648875)
Quick protip for those wondering, the simple command to download an entire youtube channel is like so:

$ youtube-dl -citw ytuser:LastWeekTonight

I downloaded a channel with 121 videos, 4.4 gigs, took 26 minutes, so 2.8MB/s average. Curious if the Youtube people will shrug it off and free the beer or rate limit or more aggressively combat this.

Also, to get the total number of supported sites:

$ youtube-dl --extractor-descriptions|wc -l

466 (wow)

As this can run on anything with Python, I guess that includes Android[0], iOS[1], Windows Phone[2], heck even Blackberry[3]??

[0] https://python-for-android.readthedocs.org/en/latest/

[1] https://code.msdn.microsoft.com/windowsapps/using-python-on-...

[2] http://pythonforios.com/

[3] http://forums.crackberry.com/blackberry-z10-f254/blackberry-...

Thanks pmoriarty for submitting this. Awesome and I'm just getting started poking around with it. Makes me really want to learn Python, seems that's what all the fun stuff[4] is coded in.

[4] http://motoma.io/pyloris/ :)

Re:Youtube-dl by phihag_ on Sunday November 23, 2014 @12:25PM (#8649257)
Please don't pass in -citw [0]! I have personally run youtube-dl on android, works fine. (Disclaimer though: I am the current lead developer, so may have missed a pitfall or two).

[0] https://github.com/rg3/youtube-dl/blob/master/README.md#do-i...

Re:Youtube-dl by fredoliveira on Sunday November 23, 2014 @09:53AM (#8648908)
Downloading an entire channel is exactly how I downloaded the How to Start a Startup class from youtube. For the interested:

  $ youtube-dl -citw ytuser:UCxIJaCMEptJjxmmQgGFsnCg
Re:Youtube-dl by d0ugie on Sunday November 23, 2014 @10:38AM (#8649006)
fredoliveira: Eyeballing those lectures, which are enormous, youtube-dl is helping you more easily teach people to make their lives and careers better, instead of just downloading Taylor Swift songs. So youtube-dl is indeed being used for Good.
Re:Youtube-dl by 0942v8653 on Sunday November 23, 2014 @10:57AM (#8649039)
Instead of Python For iOS, try Pythonista[0]. It's amazing.

[0]: http://omz-software.com/pythonista/