RapidSucker: Grab rapidshare and megaupload links under your Unix, Linux or Mac OS X
First things first: The download link
(scroll down for the changelog)

Info:

Rapidsucker is a rapidshare and megaupload premium links downloader/grabber/collector. Please note that this only works if you have premium accounts on those services, it will not work with the free accounts. The current version is written in Python and runs from the shell console, which is perfect to leave it running on those mostly idle company servers ;-)

To use, download it and create a config file on ~/.rapidsucker.conf (take a look at the start of the source to see an example of the format, I'll add a commented example on this page later.) Once you have told it your rapidshare/megaupload premium access data just run it (python rapidsucker), paste the links on the console, and push enter. It should start downloading the files to the current directory.

In the near future I plan to add an option --gui to show a (Qt4) graphical interface so Ubuntu users can also use it. Windows porting would also be nice, but a low priority since there are other tools there. Patches are welcomed, of course.

Changelog:

Update version 0.6.2 (august 2009):
  • Rapidshare changed a key in the cookie and rapidsucker stopped working with a "ValueError" exception. This release should fix that. Will publish a version that works with Megaupload soon, I promise ;)
Update version 0.6.1 (january 2009):
  • Print pending and finished files as totals so we don't mess the screens with hundreds of pending/finished lines
  • Use temporal files for the cookies instead of using files in the same directory so you should have less problem running several rapidsuckers in the same directory (in this case you're also advised to use the config option "rememberurls=false".)

Update version 0.6.0 (january 2009):

  • Option to limit the max number of simultaneous downloads. By default the limit will be 8, but you can use the "maxparalell = X" option in the config file to change it.
  • Get URLs from lines where there are more things (like "Part 1:http://rapidshare.com/bla [RAR FILE]")

Update version 0.5.1 (december 2008): this update only have some bugfixes, mostly affecting Mac users but probably affecting others Unix and Linux systems too (I'm too ashamed to say what were the bugs.)

Update version 0.5.0 (december 2008) Christmas edition!:

  • Megaupload support! You now can put your premium account data with the settings "megauser" and "megapass" in the config file and megaupload links will be downloaded too.
  • Removed the option to configure rapidsucker using global vars; now you can only configure it using ~/.rapidsucker.conf
  • Use urllib instead of wget to get the cookies (wget is still used for the actual download of the files.)
  • Changed license from public domain to GPL (versions until 0.4.1 are still in the public domain.)

Update version 0.4.1 (december 2008): Small fix to the language environment setting code (thanks chab!)

Update version 0.4 (december 2008): The connection problems should be gone - I'm using the cookie auth method with rapidshare now. Also, the sizes and times are much better calculated now.





8 comments to this post


http://Rapidsucker.tk, a web based version of Rapidsucker. Webmasters of this site please contact me.


You can contact me using:

http://juanjoalvarez.net/es/contact


Are you interested in a web based version of your program, or would like to some how combine the two ideas, let me know, im always up for new projects, ive tried mailing you before to talk to you about this but never got a response.


Hi!

I'm currently buried in work (profesional and personal projects) and can help you, but if you want to use rapidsucker on a server with a web front end it's open source and free software, you can even modify it yourself without publishing the changes (if you don't distribute or sell the program itself; it's GPL.)

If you need help with any specific about the program or the code please ask me.

I don't remember receiving any email about this subject, maybe it was filtered as spam by gmail (my email is juanjux at gmail dot com.)


Hello,

I was one of the persons asking for a limitation in the number of parallel downloads, so I think it is appropriate to send you a very big THANK YOU!

Thanks,

Steven


Thanks, this is a great rapidshare downloader, I've been searching for something like this. However it would be great if my terminal (urxvt) wouldn't flicker on every percentage/speed update.


After the changes that were made by Rapidshare, Rapidsucker is no longer able to download from Rapidshare.

I made the following changes to the script (version 0.6.2) to enable it again:

Replace line 366 that currently reads:
urlPost = 'https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi' with:
urlPost = 'https://ssl.rapidshare.com/cgi-bin/premium.cgi'

Replace line 376 that currently reads:
postdata = urllib.urlencode({'login': user, 'password': passwd}) with:
postdata = urllib.urlencode({'premiumlogin': 1, 'accountid': user, 'password': passwd})

Please note: these changes are breaking the MegaUpload compatibility. The changes need also the "premiumlogin" parameter, so I guess this only works with a premium account.

Happy downloading!

Steven


Thank you for sharing such a great tool - and a second thanks to the above post for additional changes to get the tool working!