Use wget with Your Rapidshare Account
If you have a Rapidshare premium account, you can use wget to download files. The process is two-fold: first, you need to use wget with your Rapidshare username and password to obtain and store the Rapidshare cookie; then, you can use wget with the cookie file to download a list of links.
To get you started, I put together a simple script. Save the script below as ~/wgetrs.sh ; chmod 755 ~/wgetrs.sh ; ln -s ~/wgetrs.sh /usr/local/bin/wgetrs And then run it like so: wgetrs
Theis the location and name of the text file containing the list of rapidshare links you wish to download, one link per line.
Example: wgetrs user1 mypassword ~/rslinks.txt
#!/bin/bash # # krazyworks.com # 2012-07-08 # Igor Os # # Usage: ./wgetrs.sh # linkfile="" if [ ! -f "${linkfile}"] then echo "Input file ${linkfile} not found. Exiting..." fi for i in rapidshare_cookie_tmp rapidshare_cookie do if [ -f ~/.${i} ] then /bin/rm -f ~/.${i} fi done /usr/bin/wget -O ~/.rapidshare_cookie_tmp "https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails&withcookie=1&login=&password=" grep "^cookie" ~/.rapidshare_cookie_tmp | awk -F'=' '{print $2}' > ~/.rapidshare_cookie /usr/bin/wget -c --no-cookies --header="Cookie: enc=`cat ~/.rapidshare_cookie`" -i "${linkfile}" -nc
6 Comments »
1 Pingbacks »
-
[…] is a follow-up to my previous wget notes (1, 2, 3, 4). From time to time I find myself googling wget syntax even though I think I’ve used […]
I have a rapidshare premium account. I want to download files from rapidshare using dap. But it gives only a web page when downloaded. Please help me out.
Is it possible to purchase a rapidshare premium account through paypal? Or is it solely with a credit card?
I am using someone else’s rapidshare premium account. The owner gave it to me for 3 days to use it, but I wouldn’t like him to find out what have I downloaded. It’s a bit personal, you see…
How do you download as many files (EX: Video Files) you want from a file share site (Rapidshare, Rapidgator, etc) without buying a premium account ?
Hi
I have Rapidshare Premium Account but when I download few files from Rapidshare with Internet Download Manager, it doesn’t download more files.
And when I open link of the file with the browser, it doesn’t open.
I should restart the computer to download the files.
What is the problem?
Thanks
Download speed for Rapidshare premium and free membership isn’t any different. I can’t download two or more files at a time. Not a problem. I have to wait minutes before each download. Not a problem. I would consider buying the RS premium account only if it is much speeder than free membership.
Is there anything else I can get for the premium membership?