WWW::RapidShare is a time saver

I uploaded WWW::RapidShare version 0.1 to CPAN today. WWW::RapidShare is a Perl module which you can use to download files from rapidshare.com. Currently, only premium accounts are supported. More features coming soon!

Here’s a simple Perl script to download a file. You need to know the entire URL and of course your Rapidshare account ID and password.

use WWW::RapidShare;

my $rapid = WWW::RapidShare->new();

$rapid->url(’http://rapidshare.com/files/file.zip’);
$rapid->account_id(’xxxxxx’);
$rapid->password(’xxxxxx’);

# Download the file associated with the above URL.
# It will be saved in current directory.
$rapid->download_file();

This should work on both Windows and Linux distros.

I also updated the Finance::Bank::HDFC module to version 0.13, which fixes some dependencies.

4 Responses to “WWW::RapidShare is a time saver”

  1. Dusko Says:

    Hi..
    I get following error when trying to use your module
    Can’t call method “find_input” on an undefined value at /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm line 1614.

  2. Rohan Says:

    I’ve uploaded version 0.2 which should fix your problem

    http://search.cpan.org/perldoc?WWW::RapidShare


    Rohan

  3. 7ota Says:

    oh !! you have another blog ?! i have the same problem like Dusko , i update to the last version and still faced the same proplem !!

  4. rohan Says:

    hehe! rapidshare ha actually changed their HTML. So I need to update the module to deal with the changes. Should have that in a week or so.

Leave a Reply