You’re a mobile developer living in a mobile first cloud first world and would like to take some benefit from the awesome content coming from Xamarin Evolve 2014 ? All the 55 videos are published on YouTube (Except the keynote) on the XamarinHQ channel and that’s a great thing. If you’re often on the go, you will appreciate to have all those videos always with you, usable offline at any time, living a typical mobile scenario, smartly using the time you spend every days in taxis, trains or planes. Here is a little tutorial on how I deal with the situation:
1) Install Chocolatey
Ok, this step is not absolutely mandatory but, hey, if you didn’t know Chocolatey (A package manager for Windows, The NuGet for apps) or you were looking for an opportunity to install it, it’s time! You will not regret it. I can not longer imagine using Windows without it.
– open your favorite browser
– goto to http://chocolatey.org
– copy the commmand line of the front page. It should be something like
[shell]@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(‘https://chocolatey.org/install.ps1’))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin[/shell]
– open a Command Prompt on Windows
– paste the command line and hit enter
– and voila!
2) Install youtube-dl
To download YouTube videos, you will need a tool that will parse YouTube content, find the videos and download them. My favorite tool for this mission is youtube-dl . You can get the Chocolatey package by typing
[shell]choco install youtube-dl[/shell]
in a Command Prompt to install the tool (Yes, you downloaded and installed your first Chocolatey package :-) ). You’ll get the details on http://chocolatey.org/packages/youtube-dl
3) Start your download
– Goto your destination folder :
– Launch youtube-dl using the Xamarin Evolve 2014 playlist on YouTube :
[shell]youtube-dl -iw https://www.youtube.com/playlist?list=PLM75ZaNQS_FbvKCmsji1pgq8maGGZXph3[/shell]
– Be patient
I recommand to use those options to get the best experience:
– “-i” to ignore errors. The playlist or video availability could evolve during the download
– “-w” to not overwrite files so you can launch the command several times to resume your donwloads without restarting from scratch
4) Enjoy your videos on the go
Now that your videos are stored localy, in high resolution MP4, you’ll be able to watch them on every device, without an Internet connection. But please, make me a favour : don’t forget to give feedback to the authors/speakers on YouTube. I’m sure you will join a network at some point in a Starbucks Coffee near you, so take a minute to send them kudos, like and share those videos.
Of course, you can use the same tools to download videos on other YouTube channels/playlists or on other web site. Check the youtube-dl documentation for extended scenarios.
Never stop to (have fun) learning.
Edit 2015-02-01: Now that Xamarin created a YouTube playlist for Evolve 2014 content, we’ll use it. Thanks to Kym Phillpotts comment.