
this is a useful simple tool to download files from rapidshare without visual tools. it's perfect if you want download files on your home pc from your office.
you need a valid premium account on rapidshare and wget installed on your pc. to install it: as root
yum install wgetcreate a new directory in your home directory (not as root!):
cd /home/your_user_namemkdir .cookiessave a cookie in this folder with the following commands:
wget \--save-cookies ~/.cookies/rapidshare \--post-data "login=USERNAME&password=PASSWORD" \-O - \https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \/dev/nullcopy and paste the following code and save it as "catchall"
#! /bin/bashf=`date +%Y-%m-%d_%Hh%Mm%Ss`$RANDOM$RANDOM.logif [ "$#" = "0" ]thenecho url missingelsea="$@"wget -b -a $f --load-cookies ~/.cookies/rapidshare $afimake it executable and copy it under
/usr/bin: as root chmod +x catchall then cp catchall /usr/binin your Premium-Zone Settings set as true the option "Direct downloads, requested files are saved without redirection via RapidShare"
now you can download any rapidhare file with the command:
catchall your_rapidshare_url_hereyou'll get a different log file for each downloaded file. you can see the status of your download with this command:
tail -f log_file_name
No comments:
Post a Comment