The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::RapidShare - Download files from Rapidshare

VERSION

This documentation refers to WWW::RapidShare version 0.2

NOTE

    Currently only works with rapidshare.com PREMIUM accounts.
    More features coming soon!

SYNOPSIS

    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.
    # A random mirror will be chosen.
    # File will be saved in current directory.
    $rapid->download_file();
  
  

SUBROUTINES/METHODS

new()

Purpose

    Create a new WWW::RapidShare object

Usage

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

Parameters

    None

Returns

    A WWW::RapidShare object

accessors/mutators

    * url - The URL to download the file
    * account_id - Your account ID
    * password - your password

download_file()

Purpose

    Download the file associated with the URL

Usage

    $rapid->download_file();

Parameters

    None

Returns

    None

Comments

    This method will create a file in the current directory

DEPENDENCIES

  • Class::Accessor

  • WWW::Mechanize

AUTHOR

Rohan Almeida <rohan@almeida.in>

LICENCE AND COPYRIGHT

Copyright (c) 2008 Rohan Almeida <rohan@almeida.in>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.