MadMakz
/
Misc-Tools
Archived
1
0
Fork 0

Bash/wget-RS: desc. fixed

This commit is contained in:
MadMakz 2012-10-18 22:20:30 +02:00
parent da8430d9ad
commit af74b424dc
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
###
## Usage: ./<script> <user> <login> <downloadlist>
## Usage: ./<script> <user> <password> <file with downloadlist>
##
## Note: Requires RS User account and setting "Direct Downloads" set to yes.
###
@ -9,4 +9,6 @@ rapidshare_cookie=`wget -q -O - --post-data="sub=getaccountdetails&withcookie=1&
for i in $( cat $3); do
wget --header="Cookie: enc=$rapidshare_cookie" $i
done
done
rapidshare_cookie=""