Well, I've been looking for long time since Hardy Heron, but it is not yet written. Then after Intrepid Ibex comes out, walla~! there is a script which could be used to download rapidshare files(by using premium accounts) by using lightweight download manager built in almost all Linux Machine - WGET.
Well, to get this started - for those who still using the old version of Ubuntu such as Feisty Fawn, Gutsy Gibbon or Hardy Heron, you might wanna check your WGET version. Make sure it is 1.10.2 above else you wont be able to use this tutorial.
First, you need to make a folder for this. Better to make a new folder to organized all your rapid download files in one spot. After creating a folder, move into the new folder and we are about to begin the process there. Here is the code to make and move into the new folder:
mkdir rapiddownload ; cd rapiddownloadAfter that, create a script file with .sh at the end. For example getcookies.sh:
touch getcookies.shThen we are going to copy and paste a command to get and save cookies into ~/.cookies/rapidshare file. To do this, all you need to do is copy and paste the code below into your getcookies.sh file. To open text editor just use command below:
nano getcookies.shThe code you need to copy and paste is below(make sure you change USERNAME and PASSWORD with your own premium rapidshare information):
#!/bin/bashAfter finish paste the code, please save and exit the editor. Make sure you save before exiting or there won't be any code inside getcookies.sh.
wget \
--save-cookies ~/.cookies/rapidshare \
--post-data "login=USERNAME&password=PASSWORD" \
--no-check-certificate \
-O - \
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \
> /dev/null
Then we start working on the script which you will use to download. Create a script file name download.sh:
touch download.shAnd copy the script into download.sh file. Remember to open it using your convenient text editor.
nano download.shAnd paste the script below:
#!/bin/bashAfter doing this, save and exits. We are finish with codes, so all you need to do is make it executable. To make both files executable, run 'chmod' command with '+x' flag.
wget -c --load-cookies ~/.cookies/rapidshare $1
chmod +x {getcookies.sh,download.sh}TO START DOWNLOADING - To start your download, first you need to run ONCE the getcookies.sh file so that cookies will be stored and will be use by download.sh everytime you want to download from rapidshare. To run getcookies.sh below is the command:
./getcookies.shNow to start downloading, just use this command:
./download.sh http://urls.of.your.rapidshare.download.com/whateverSo, this is it. i hope you find this tutorial useful. And before I forget, I get this information from a website named my-guides.net. They have a lot of other information about linux. Pay a visits there to learn a lot of cool things.
DISADVANTAGE:
- People could see your premium username and password once they hold on to your machine. So please use at your own risk.






6 comments:
Thanks for your good post,
I want to download several links with this script.
is it posible to send links from one .txt file into the script?
Yes Sure you can. I have made a simple script on to ease downloading single and multiple files for premium Rapidshare account. Please recheck this blog again in a few hours.
Here is a referer to my Update Post:
http://blog.gunbladeiv.com/2009/01/update-rapidshare-downloader-script.html
fantastic!!! I was going crazy trying to work out what to do!
I had just updated from suse10 to 11 and wanted to "borrow" a season of californication ... ;-)
and my old script no longer worked - looks like wget changed how it worked.
Your cookies stuff solved the problem!!!!
THANKS!
:-))
Cheers,
dumbfckr
free multi download rapidshare premium account
free sofware multiple download rapidshare premium account
Try http://ineedfile.com to look for rapidshare files. I using it regularly and allways satisfied with the results
It's redesigned now and looks much more beter. More than 7 000 000 files in their database.
They offer search toolbars for FF and IE. They also offer search bar for your site.Enjoy.
Post a Comment