Download

HowTo use shell to download RapidShare Links

TUTORIAL: Using shell terminal (MacOSX,Linux) to DL/UL from Rapidshare Premium with cURL This guide explains how to use terminal commands to download and upload from rapidshare.com. The utility we will be using is called cURL, an open source command-line HTTP tool. cURL comes standard with MacOSX, and can be installed easily with Linux (for example, to install on a Debian-based OS, like Ubuntu, just type the command sudo apt-get install curl). All these commands are done from the user’s home directory. Step 1: Logging in to your Rapidshare premium account curl -k -c /.rapidshare -d ’login=USERID&password=PASSWORD' ‘https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi' This command will go to the Rapidshare login page and submit your username and password to log in. It will also create a file in your root directory called ‘.rapidshare’. This file contains your login cookie. Once this file is created, you’ll never have to login again. Of course, replace USERID and PASSWORD with your information. Let me explain the switches used here with the ‘curl’ command. ‘-k’ allows curl to access SSL (https) pages. ‘-c’ writes a cookie file. ‘-d’ sends form data. Step 2: Downloading from Rapidshare curl -L -O -b /.rapidshare ‘URL’ This command will access your cookie file and send the data along with the ‘-b’ switch.

Continue reading