RapidShare downloading made easy

3/23/2007 02:06:00 PM | Permanent Link | Comments (16)

Download gRapid | Digg It

I've recently been downloading quite a few files off RapidShare, enough to make me cry when I have to manually copy links, click "Premium" or "Free", and then proceed to select which server to download it from, and then actually download the file.

So in short, to download a file, I have to perform about three mouse clicks, and three page loads, before the download starts.

This is alright, if you only need to download one odd file.

But with RapidShare imposing a 100MB limit on a single file, sometimes people who'd like to upload larger files (be it video, audio, etc.) have to split files into smaller chunks, and then upload them individually.

I recently had to download Fedore Core 6 and was not in the mood to first open 50 links in Firefox, then click on those buttons, and then wait for Firefox to queue a few downloads at a time, making me wait until I had successfully queued all the 50 downloads!

So I decided to code something to ease the pain of downloading from RapidShare.

Voila, gRapid!

It's written in Java (eek!) and uses GNU Wget to actually download the files. It's quite simple actually, you harvest all the links you need to download from your source (whatever it may be), copy it into a text file, one link per line, save it for example as "in.txt", and pass it on to gRapid.

In short,
java gRapid username password in.txt out.txt 8

A few notes about the above command. It assumes you have JRE 1.5 or higher installed. Secondly, you need to have a Premium RapidShare account, a file containing valid Rapidshare links one per line (in.txt), an irrelevant text file (out.txt, you don't need to create this), and a number telling gRapid how many simultaneous downloads to process out of the input file.

Download gRapid
[ 16 Comments ]

Mukul Sabharwal is an engineering student at Iowa State University and writes software for a living.

Comments (Add Comment)

16 comment(s)

superb ive been waitin for such a thing

great wanted a linux downlaoder for rapidshare, a good replacement for flashget

can you make graphical window for this but gr8 work

sorry, getting "authentication failure" instead! used RS-premium username and password numbers in the command line. what can be wrong?

Hmmm, I'm not entirely sure, have you made sure that you can login with that on the RS website using your browser?

Secondly, what platform?

If you need more prompt replies, you can email me, mjsabby, then append gmail.com

where is the command line?? to type:

java -jar gRapid.jar Premium_User Premium_Password in.txt 8

thanks

It says unable to access jarfile gRapid.jar

I did everything right.. how do i get past that?

so it just kinda hangs and doesn't do anything it seems...

Thanks i've been wondering how to do this in linux for a while as i had been using Flashget previously on windows

Hi,

Kudos for getting it together to write the script. I've come accross another one which has some features you might want to think about. It's a little easier to use than your script and very small, I've left the link,

Rob

http://m0ds-ubuntu.blogspot.com/2008/01/en-rapidsharecom-download-manager-for.html

Thanks for the code!

And here is a small dirty script that can help in case you don't have java.

It is to be called with 2 arguments, the rapidshare link, and the download destination folder.

DLFILE=$( echo $1 | rev | cut -d "/" -f1 | rev )

curl -d "login=LOGIN&password=PASS" -D auth https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/null

STAGE1LINK=$( curl --cookie auth $1 | grep -i "form action" | cut -d"\"" -f2 ) > /dev/null

STAGE2LINK=$( curl --cookie auth $STAGE1LINK -d dl.start=PREMIUM | grep -i "Download via" | head -n 1 | cut -d"\"" -f2 )

curl --cookie auth $STAGE2LINK > $2/$DLFILE

since Rapidshare launched the new website the program no longer works.

for a modified working version, go here: http://code.google.com/p/grapid/issues/detail?id=10#c2

this modified version also includes:
GUI
you can now see what the program is doing
it shows startup-sequence and which file it is downloading
Report bad links
at startup you get a list of links that could not be found
Comments in in.txt
you can now put comment lines in the in.txt by starting the line with '#'
these lines will be ignored by the program
this is usefull to remember sources, passwords, full filenames, etc.
Direct downloads
now also works when you have direct downloads enabled

Hey there,
using the new jarfile, I get:

bash: syntax error near unexpected token `newline'


Is there a fix?

hey,

remember me?
i made the modified version of gRapid.

i got inspired by gRapid to make RapidWareX, my own download manager

this time it has a real GUI and some cool features.

it's written in c# though
(because i'm lazy and my windows box does the downloads)

well, check it out here:
RapidWareX website
ofcourse it free and as soon as it can exit bèta it will be opensource

grts,
M

Disk Free Space 1.0 310 KB, FreeWare
Disk Free Space - This program shows the amount of free space on logical disk computer.
Designed for Windows, tested on Windows XP Pro SP2.

Displays in the Windows system tray information about free space on your hard drive.

Information is shown only for the hard disk partitions. Holiday, network and other drives are ignored.

The period of the disk and update the information equivalent to 10 seconds.

Bari maal cheez banayi hai yar!! great job dude!

does it work on Mac OS?

Archives

RSS for mjsabby.com CSS2 Valid XHTML 1.0 Strict Valid

A trip down memory lane; help yourself, and go browsing my older posts ...

Elsewhere

Advertisement