Wget

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
(Use the cookie!)
Line 8: Line 8:
 
wget -c --load-cookies ./cookie URL
 
wget -c --load-cookies ./cookie URL
 
</code><br>
 
</code><br>
<b>-c</b> is used to resume a previously started download
+
<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

Revision as of 21:16, 4 September 2010

Using wget to retrieve files that require you to be logged in

Save the cookie

wget --save-cookies ./cookie --post-data "login=USERNAME&password=PASSWORD" -O - URL > /dev/null

Use the cookie!

wget -c --load-cookies ./cookie URL
-c is used to resume a previously started download
-i filename is used to read a file containing 1 URL per line

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox