If you didn’t get to make it to DrupalCon or there were some sessions you wanted to see, but missed, YouTube is the answer. The Drupal Association has all of the session videos conveniently in a single playlist at http://www.youtube.com/playlist?list=PLpeDXSh4nHjRlZKs7cj2L_kLI5osP5ERc.
Via @DrupalCon on Twitter, Janez Urevc shares how he scripted the download of session videos he was interested in:
In order to download videos I just needed get video’s URL and this command:
youtube-dl -f 35 -t “http://youtu.be/OAjcIXqM_jQ”
- -f 35 tells I wanted to download 480p flv version (see manpage for other codes)
- -t filename of downloaded file should illustrate video’s title instead of ID
- “http://youtu.be/OAjcIXqM_jQ” video’s URL (script know how to follow redirects, …)
Now I created shell script with an array of all videos that I wanted to download and loop that was running youtube-dl for each of them. Script did it’s job during my last night in hotel and I was all set for my flight.
If you’re using a Mac with Homebrew (which I recommend), you can install youtube-dl using
brew install youtube-dl