I am very much lazy person, if I have to do something twice. I like to do a copy paste. if need to do it more than that(2times) then I write a code. Downloading movies from RS is a pain for me. So, I have written a code to download them from the rapidShare site.
basically there is 2parts one,
Part 1 is getting the cookie form the site. You need an account (you can buy one fromĀ http://www.rapidearth.com/ )
Part 2 is downloading the files using the shell script.
Taking the cookie:
wget \
--save-cookies ~/.cookies/rapidshare \
--post-data "login=USERNAME&password=PASSWORD" \
-O - \
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \
> /dev/null
Now make a dl.sh
I am really lazy, don’t even edit the code. make list.text file with urls, use it as input)
#!/bin/sh
while read LINE
do
wget -c --load-cookies ~/.cookies/rapidshare $LINE --no-check-certificate
done <$1
now, run it with
$ dl.sh list.txt
I am not trying to help anyone with this script. when I need this script, can not find the code anywhere. So, keeping it in the blog will help me find out next time!
Thank you.

No Comments on "automatic download sh Script for Rapidshare"