Wget

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Using wget to retrieve files that require you to be logged in==
 
==Using wget to retrieve files that require you to be logged in==
 +
===Save the cookie===
 +
<code>
 +
wget --save-cookies ./cookie -O - <i>URL</i>> /dev/null
 +
</code><br>
 +
<br>
 +
for rapidshare.com see my [[rapidshare|script to get the cookie]]<br>
 +
 +
===Use the cookie!===
 +
<code>
 +
wget -c --load-cookies ./cookie URL
 +
</code><br>
 +
===Useful parameters===
 +
<b>-c</b> is used to resume a previously started download<br>
 +
<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