Wget

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 5: Line 5:
 
</code><br>
 
</code><br>
 
<br>
 
<br>
for rapidshare.com<br>
+
for rapidshare.com see my [[rapidshare|script to get the cookie]]<br>
<code>
+
 
wget --save-cookies ./cookie --post-data "login=<i>USERNAME</i>&password=<i>PASSWORD</i>" -O - https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/null
+
</code>
+
 
===Use the cookie!===
 
===Use the cookie!===
 
<code>
 
<code>

Latest revision as of 21:55, 10 September 2010

Contents

[edit] Using wget to retrieve files that require you to be logged in

[edit] Save the cookie

wget --save-cookies ./cookie -O - URL> /dev/null

for rapidshare.com see my script to get the cookie

[edit] Use the cookie!

wget -c --load-cookies ./cookie URL

[edit] Useful parameters

-c is used to resume a previously started download
-i <filename> is used to read a file containing 1 URL per line
--limit-rate=<rate>k is used to limit the download rate

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox