views:

1652

answers:

5

I'm wondering if anyone knows about a working command line tool for linux to download using premium account on rapidshare. I've seen a python solution, which does not work for me -- returns urllib2 error message

urlopen error unknown url type: https

and my knowledge of python is not yet deep enough to figure out why: might be a recent RS change or something is wrong with my settings.

Any other tools around someone may be using and could share a link?

A: 

To get urllib2 to open https URLs you need Python with SSL support. How to get it depends on your distribution.

che
The one I have problems with is Suse 9.3 with Python 2.6.I found an <a href="http://www.heikkitoivonen.net/blog/2008/10/14/ssl-in-python-26/">article about Python 2.6 with SSL</a>, but it looks like I'll need to modify the script I linked in the original post.
+4  A: 

curl is a remarkably powerful command-line tool for squeezing things out of web servers. I can't say about RapidShare in particular, but if you see what the manual download is doing, you can get curl to post the same forms, for example.

Norman Ramsey
+4  A: 

wget works well. You have to point it to a file containing the cookie corresponding to your Rapidshare account (e.g. the cookies.txt in Firefox's profile directory).

wget --load-cookies /path/to/cookies.txt http://...
dF
+1  A: 

Here's a tutorial for a command line tool to download from rapidshare: http://fedoracoreproject.blogspot.com/2009/03/linux-command-line-tool-to-download.html

A: 

Nice commandline tool for RapidShare and many other services (MegaUploads, HotFiles etc). It allows simultanous transfer from different services:

http://svn.pld-linux.org/cgi-bin/viewsvn/toys/rsget.pl/

Just create file with list of URLs (# for comment), and start rsget.pl list-of-urls It monitors file with url list, so you can add/remove links without restarting script (i.e. breaking current transfer).