News for hackers. Stuff that matters.
Re:Ask HN: Which Berkeley Courses Should I Archive? by vpribish on Tuesday March 14, 2017 @12:46PM (#13869107)
Anyone want to chime in with a way to simply grab them all?
Re:Ask HN: Which Berkeley Courses Should I Archive? by obombration on Tuesday March 14, 2017 @12:50PM (#13869156)
If there's a YouTube playlist for the course, you can easily grab them all with youtube-dl.

[0]: https://rg3.github.io/youtube-dl/

Re:Ask HN: Which Berkeley Courses Should I Archive? by GunlogAlm on Tuesday March 14, 2017 @02:13PM (#13869965)
There's many of the CS videos in a torrent (with magnet link) here, over 400GB: https://www.reddit.com/r/DataHoarder/comments/5xqnc6/uc_berk...
Re:Ask HN: Which Berkeley Courses Should I Archive? by AlexB138 on Tuesday March 14, 2017 @03:18PM (#13870603)
As others have said, youtube-dl. I'm using the following command to get them in the best possible quality and merge them into an mkv:

  youtube-dl -f bestvideo+bestaudio --merge-output-format mkv -ci [play list url]
I'm on MacOS and was able to get it working by doing the following:

  brew install youtube-dl
  brew install ffmpeg
ffmpeg is needed for encoding.

You can get playlists here: https://www.youtube.com/user/UCBerkeley/playlists

Re:Ask HN: Which Berkeley Courses Should I Archive? by mciancia on Tuesday March 14, 2017 @12:50PM (#13869146)
youtube-dl can download all videos from given channel
Re:Ask HN: Which Berkeley Courses Should I Archive? by garysieling on Tuesday March 14, 2017 @12:50PM (#13869143)
youtube-dl
Re:Ask HN: Which Berkeley Courses Should I Archive? by apathy on Tuesday March 14, 2017 @12:55PM (#13869219)
you and the above poster are heros.

    $ youtube-dl
    The program 'youtube-dl' is currently not installed.
    You can install it by typing:
      sudo apt install youtube-dl

    $ sudo apt install youtube-dl
Not many things I love more than discovering that someone wanted the program I'm about to write, and wrote it better than I'd have had time to. This is why I still love the Linux/BSD ecosystem after all these years
Re:Ask HN: Which Berkeley Courses Should I Archive? by dabber on Tuesday March 14, 2017 @01:32PM (#13869605)
Just a note, in the FAQ[1] it states "distribution packages are often outdated". There are (very simple) cURL/wget instructions in the repo's README[2]. Then you can update with:

   sudo youtube-dl -U
There's also an .exe for Windows as well as pip, Homebrew, and MacPorts packages.

[1] https://github.com/rg3/youtube-dl/blob/master/README.md#how-...

[2] https://github.com/rg3/youtube-dl/blob/master/README.md#inst...

Re:Ask HN: Which Berkeley Courses Should I Archive? by schoen on Tuesday March 14, 2017 @01:52PM (#13869783)
youtube-dl is an amazing project in terms of the number of contributors and their passion for keeping it up to date and supporting a huge range of sites.

https://github.com/rg3/youtube-dl/

Previous long HN discussions of the project:

https://news.ycombinator.com/item?id=8647943 https://news.ycombinator.com/item?id=11452765

Re:Ask HN: Which Berkeley Courses Should I Archive? by neoncontrails on Tuesday March 14, 2017 @01:05PM (#13869333)
FYI to Mac users: brew install youtube-dl works just as well.