Friday 12 February 2010

How to download embedded content in webpages

[Post published by Liviu on Liviu's [Computer Science] Blog]


Problem

Would you like to download content (audio, video) embedded in web pages? e.g. YouTube, Trilulilu etc.

RO: Cum downloadez un cantec (fisier audio) dintr-o pagina Trilulilu, sau un film (fisier video) dintr-o pagina YouTube etc.?


Solution 1

I've found a page describing how to do it, but now let me tell you the long story, i.e. my approach, because it's nice, harder and doesn't always work - indeed, CS people have a funny sense of humor.
The truth is this is the first solution I've tested:

First, install in Firefox the add-ons called FireBug and DownThemAll.

Second, open the page with the targeted content. Click on the little bug (because we use FireBug now) found at the bottom of the window, on the right side; click Net, click Enable, reload the page. Then sort the links by the downloaded size of content, i.e. click Size - now all links are displayed in descending order of the loaded content size. The first link(s) should be the one(s) you're interested in. Copy them, one at a time.

Third, Tools > DownThemAll > Manager > Add URL - insert here the links you've copied at the previous step. Download the content corresponding to each link, rename appropriately, i.e. if you've downloaded an audio file from Trilulilu then rename so the downloaded file ends in .mp3


Solutions 2, 3 (easier solutions)

Fast Video Download - good add-on for downloading videos embedded in a web page, e.g. YouTube.
Just click on the blue icon at the bottom of the window, on the right side, or in the upper right side of the window.
I recommend you disable Hover menu icon, i.e. the blue box which appears when you select some text, like this: Tools > Fast Video Download > Fast Video Download options > Settings > Search Menu Advanced > click to uncheck Hover menu icon.

FlashGot - a very good add-on.
Just click on the blue icon at the bottom of the window, on the right side - it shall download all content.
I recommend it if you desire to download audio files from Trilulilu, for example.
I also recommend you deselect Autostart downloads: Tools > FlashGot > Autostart downloads (click to deselect it, id it appears selected) or Tools > FlashGot > More options > Downloads > make sure Autostart downloads appears unchecked.


Conclusions

I recommend you use (1) FlashGot, or (2) Fast Video Download.

FiraBug could be useful for debugging or other more complicated tasks, but not for this solution.
Also, DownThemAll might prove useful in the future.

No comments: