Wednesday, May 09, 2007

wget Google videos

Google has some amazing tech videos at their site by the user Google engEDU. And they even allow for downloads which is great for me.

But I prefer downloading files using wget to be able to resume downloads later. You can't just wget the video link url's as is because they have & characters which cause wget to try to download them as separate files. Instead try something like this for the "OSS Speaker Series: The State of the Linux Kernel" video..

wget -c --output-document=MortonLinuxKernel.mp4 "http://vp10.video.l.google.com/videodownload?version=0&secureurl=twAAAOFdafTKyCsBI7E0BCCT6060NjqUP0-3g9pfM0xl5X1YO8a1zhU5ArUNYf8PLb44VqTIrTR2hntorTVWAEL6bqWkChEIIVPqNeHV5F4PRqoHXwlvZRC0_giNoVtliPIDsfE7zAzQSPok2b8ShvvgxJVI3T3WoPwGtr6Vvmwfjj18i9wTbaZD_JGXpTjD2kJrvVIenN5CSTRBbXYMKR49YyVYLdRNu9BuY924qZaDV4zEd9YFUsoCP42JkguszqVlOg&sigh=hEHjkZDlhZrMiZnAQrs8O55mFdo&begin=0&len=4897661&docid=1742374580386548257&rdc=1"