Wget

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
(Use the cookie!)
Line 6: Line 6:
 
===Use the cookie!===
 
===Use the cookie!===
 
<code>
 
<code>
wget --load-cookies ./cookie URL
+
wget -c --load-cookies ./cookie URL
 
</code>
 
</code>
 +
<b>-c</b> i used to resume a previously started download

Revision as of 19:57, 27 February 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 i used to resume a previously started download

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox