You are not logged in.

#26 2010-07-07 14:29:16

ciaccom
Member
Registered: 2010-07-07
Posts: 4

Re: Rapidshare.com Bash Script AreGet

ciaccom wrote:

hello there!

"areget.sh" does not function anymore, cause rapidshare changed some things (http://www.rapidshare.com/news.html). so also "https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi" is not available anymore. are there any solutions to this issue?

thanks in advance, ciaccom

ok, i figured out, waht's going wrong - it's not possible to get the cookie anymore, cause rapidshare changed their login app for premium users. if you extract the the cookie after one login out of firefox for example, you can use this HEX-string-

wget --no-cookies --header "Cookie: enc=123456789ABCDEFxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE0FF442E852CFCA2C16" <URL>

Last edited by ciaccom (2010-07-07 14:30:01)

Offline

#27 2010-07-15 19:22:22

grossy
Member
Registered: 2010-07-15
Posts: 1

Re: Rapidshare.com Bash Script AreGet

Hi

you have to login over the rapishar api and extract the cookie.

here is my code

#!/bin/bash
filename=$1
cookie=`wget -qO- 'https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails_v1&withcookie=1&type=prem&login=MYUSERNAME&password=MYPASSWOR' | grep cookie|cut -d'=' -f2`
wget -O ${filename##*/} --cookies=off  --header="Cookie: enc=${cookie}" $filename

Last edited by grossy (2010-07-15 19:54:03)

Offline

Board footer

Powered by FluxBB