сряда, януари 20, 2010

How to download video from Google and Dailymotion

Here's a good explanation about the google video download method:
http://www.lifehack.org/articles/lifehack/how-to-download-google-video.html

Here's the way to do it with Dailymotion Flash Video:

1. Open the video at the Dailymotion website. For example: http://www.dailymotion.com/video/xtbp7_milton-friedman-on-icelandic-state_news

2. View source of the page

3. Look for the div id="content" tag

4. 10-20 lines below it, there's a javascript with code adding some variables, the code looks something like this:

so1760468245.addVariable("external", "0");
so1760468245.addVariable("disable_hq", "0");
so1760468245.addVariable("video", "http%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-320x240%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112701-22af514b58ef7db59132ad63bc82231e%40%40spark%7C%7Chttp%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-80x60%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112701-d9164fb503c0cb196f2641f2bd876286%40%40spark-mini");
so1760468245.addVariable("enableJsApi", "1");

5. Copy (Ctrl+C) in the clipboard the value of the variable video, with the double quotes around it. In the particular example this would be the string "http%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-320x240%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112701-22af514b58ef7db59132ad63bc82231e%40%40spark%7C%7Chttp%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-80x60%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112701-d9164fb503c0cb196f2641f2bd876286%40%40spark-mini"

6. Write in the address bar of the browser the following line

javascript:unescape("http%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-320x240%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112248-d4b4c70ca182efc5f1295194963d4988%40%40spark||http%3A%2F%2Fwww.dailymotion.com%2Fcdn%2FFLV-80x60%2Fvideo%2Fxtbp7.flv%3Fauth%3D1264112248-1dda40dda665b4ce919914bbce2be784%40%40spark-mini")
and press enter. The unescaped URL will be displayed in the browser:
http://www.dailymotion.com/cdn/FLV-320x240/video/xtbp7.flv?auth=1264112248-d4b4c70ca182efc5f1295194963d4988@@spark||http://www.dailymotion.com/cdn/FLV-80x60/video/xtbp7.flv?auth=1264112248-1dda40dda665b4ce919914bbce2be784@@spark-mini

Copy just the first part of the URL up to the first @ character. That would be
http://www.dailymotion.com/cdn/FLV-320x240/video/xtbp7.flv?auth=1264112248-d4b4c70ca182efc5f1295194963d4988

Hit enter and SAVE AS dialog should appear. Name your file and download.

Няма коментари: