Download Heaven: Firefox+Flashgot+Aria2c

to give a demonstration of the power of the combination of these tools, I will use the example of a user browsing a website with pictures, with each picture showing in a new Tab. We want to download ALL the pictures with format JPG in ALL open tabs, using just a couple of clicks!.

Now first, a little explanation of which is what:

1. Firefox

Everyone probably knows Firefox, it is the program you use to get on the internet and with which you download your files. However, we are going to improve it a bit with the following two pieces of software:

2. Aria2c

aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink. It can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It even supports downloading a file from HTTP(S)/FTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using Metalink’s chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent.

Source: aria2 project

3. Flashgot

FlashGot is the free Mozilla / Firefox / Flock / Thunderbird extension (compatible with Netscape too), meant to handle single and massive (“all” and “selection”) downloads with several external Download Managers.

Source: FlashGot - Best Firefox Download Manager Integration - what is it? - InformAction

So like I said: “to give a demonstration of the power of this combination, I will use the example of a user browsing a website with pictures, with each picture showing in a new Tab. We want to download ALL the pictures with format JPG in ALL open tabs.”

But first: installation.

1. Install aria2c
(this is using the link from the build repo, for OpenSUSE 11.0)

sudo zypper install http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.0/i586/aria2-0.15.0-3.1.i586.rpm

type ‘Y’ and press Enter/Return

2. Install Flashgot
Open Firefox, surf to https://addons.mozilla.org/en-US/firefox/addon/220 and press the button “Add To Firefox”. Wait a couple of seconds and click “Install Now”

3. Flashgot Configuration

3.1 In Firefox Main Toolbar (at the top of the window) choose “Tools” then “FlashGot” then “More Options”

3.2 Click the “Add” Button

3.3 Type ‘aria2c’

3.4 Navigate to "File System → /usr/bin (wait a while while it loads all the files)
3.5 Search for aria2c and select this (click ‘open’ button)

3.6 Fill in the ‘Command line arguments template’: put what you want (see aria2c help files). In our case, we are going to specify a directory to download our JPEG files in:

 -d /home/opensuse11/Pictures/

(obviously use your own folders)

3.7 Go to the ‘downloads tab’ in the “FlashGot Options” window. Check ‘Autostart downloads’ at the top and check ‘Apply file extension to batch downloads too’ at the bottom.

3.8 Now we are going to specify to ONLY download JPG files from the pages: check the radio button ‘File extensions’, type ‘jpg’ in the box (without the quotes) and press ‘Add’. Press the ‘OK’ button at the bottom right of the window.

4. Test it!

4.1 Open a webpage with a number of graphic links (e.g. a page on Flickr.com or your favorite web gallery).

4.2 Open all the pictures you want to see in a new tab (click the thumbnails with ‘Control+Click’ on the thumbnail link)

4.3 Go to any page, Right-Click on an empty space in the webpage and select ‘Flashgot Tabs’

4.4 Now Firefox+FlashGot+Aria2c will download all of your pictures to the directory you specified (in step 3.6)! Try it with other file types too :slight_smile:

I hope you found this useful! :slight_smile:

nice tutorial/tip Darkelve! Thanks for sharing :wink:

-Wj

Thanks :slight_smile:

Actually I read this in Linux Format magazine, but the example and detailed explanation are mine.

Thanks for posting that. I’d be interested to know if there’s a script or program that you can point to just automatically download all images from a certain website, without having to do any clicking or opening tabs.

Great tutorial, but if I am not mistaken, DownThemAll for Firefox does all this a bit easier.

Find a page with a bunch of thumbnail images, right click the page, and click DownThemAll, it will grab all the full size images for you - it can even rename them to a user specified format, and you don’t have to open them all up in tabs.

Besides the standard image formats, it can do archives, audio, videos, and a few other file types.

Find it here.
https://addons.mozilla.org/en-US/firefox/addon/201

If you use this for porn, and it molests your computer, I am not responsible. :slight_smile:

My lord!! How can you suggest this?

And more importantly… why did I not know about this earlier??
GRINNN

Ok, lets get back to level again! :slight_smile:

Can this work with rar files?

Or maybe a rapidshare account?

Can’t seem to get it working at all.

Keeps downloading 8.7Kb files.

Thanks

Heeter

DownThemAll can do rar files, I believe. I dunno about the above method, nor do I know if either one works with Rapidshare, considering their download limits. I use filetube.com to get frets on fire songs from rapidshare/megaupload, and as long as I play the game between songs, neither site complains about me downloading too much.

Downthemall is nice, but it doesn’t do bittorrent.

My apologies, didn’t mean to offend. I just thought I would offer up another solution to people who didn’t want to have to open all the images up in seperate tabs.

That’s all right. I use bittorrent a lot (anime) that’s why this is important to me.

I used to use Bit Torrent too; until my ISP provider blocked it. They claimed that since they were doing a city wide wireless system that they had no choice. Or something. Ah well.

Dude, that sucks

Heeter

Hi guys, this is the best thread I have ever known.

devis comparatif assurance voiture](http://comparatifassurancevoiture.com) - Comparatif assurance voiture. Devis immédiat. Bas prix et adaptée. Devis assurance voiture.