Despite the detailed summaries and news that we can read on the Internet, one of the most interesting things about VMworld is undoubtedly the technical sessions, this year, like other years, William Lam leaves us links to all the sessions of both VMworld:
Now, we have all the links, but what if we want to download the sessions in a global way to have them and visualize them comfortably when we want? That’s what this Post is about:)
Quick overview, download and install youtube-dl
youtube-dl is a command line program to download videos from YouTube. com and some other sites. Requires Python interpreter (2.6,2.7 or 3.2+), and is not platform specific.
Download and install on MacOS X:
Since I have this operating system, I’ll show you the steps to install it here:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
If you are using Windows, download and install the program:
Now that we have it installed we can move on to the next point.
Creating the file with all URLs
youtube-dl needs a plain text file with one Youtube URL per line, we can do this by using the above URLs and copying/paste to an excel and just using the column with the URLs, etc.
The file has to look like this:
https://youtu.be/raWXxZu3uzA) ... etc
When we have everything ready, it’s time to use those FTTHs that you have so many stops, before launching the command I’m going to explain each section a little bit:
youtube-dl -f 22 --batch-file='/Users/jorgedelacruzmingo/Downloads/us'
1. – The first word is obviously the command in question.
2. – The format that we want to download, there are several as many of you already know, I leave all the formats available, I have selected type 22 (which gives us the best option), but you could download only audio if you want to hear it in the car for example:
171 webm audio only DASH webm audio , [email protected] 48k (worst) 140 m4a audio only DASH audio , [email protected] 160 mp4 192p DASH video 133 mp4 240p DASH video 134 mp4 360p DASH video 135 mp4 480p DASH video 136 mp4 720p DASH video 137 mp4 1080p DASH video 17 3gp 176x144 36 3gp 320x240 5 flv 400x240 43 webm 640x360 18 mp4 640x360 22 mp4 1280x720 (best)
3. – We will use the batch-file parameter and the directory where we have the file with all YouTube URLs.
This will start using as much download bandwidth as possible, and we’ll see something similar to the following, it’s just an example of two videos, but it will take a while.
A1wQCaIY5NQ: Downloading webpage A1wQCaIY5NQ: Downloading video info webpage A1wQCaIY5NQ: Extracting video information A1wQCaIY5NQ: Downloading MPD manifest A1wQCaIY5NQ: Downloading MPD manifest [download] Destination: SIE3195BU - Why Identity Management and Enterprise Mobility Are the First Steps-A1wQCaIY5NQ.mp4 [download] 100% of 225.30MiB in 00:45 rAU60SNxnsU: Downloading webpage rAU60SNxnsU: Downloading video info webpage rAU60SNxnsU: Extracting video information rAU60SNxnsU: Downloading MPD manifest rAU60SNxnsU: Downloading MPD manifest [download] Destination: SIE2709BU-rAU60SNxnsU.mp4 [download] 100% of 263.02MiB in 00:50
If any video fails you, you will have to remove from the file with the URLs you already have and launch the command again with the rest.
I can only say, THANK YOU VERY MUCH WILLIAM!