Wget

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
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>
 
wget -c --load-cookies ./cookie URL
 
wget -c --load-cookies ./cookie URL
 
</code><br>
 
</code><br>
 +
===Useful parameters===
 
<b>-c</b> is used to resume a previously started download<br>
 
<b>-c</b> is used to resume a previously started download<br>
<b>-i <i>filename</i></b> is used to read a file containing 1 URL per line
+
<b>-i <i>&lt;filename&gt;</i></b> is used to read a file containing 1 URL per line<br>
 +
<b>--limit-rate=<i>&lt;rate&gt;</i>k</b> is used to limit the download rate

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