allcookies
| Home Mailing List Installation |
Dumps ALL cookies (including session cookies) to cookies.txt file allcookies@mozdev.org |
The mandatory companion tool for downloading sites with WGET
A very minimum extension : no psychedelic design. Just the needed feature.
Why you need it :
Many web sites are protected by either
- authentification forms
- vicious access rules like "you must first see some introductory or advertisement pages"
Such sites can't be downloaded with the well known WGET tool
AllCookies is the answer to this kind of restrictions.
How it works
Web sites generally use temporary "session cookies" to manage access rules. Such cookies are not saved to the
firefox "cookies.txt" file, and are destroyed once your session closes.
AllCookies will turn those cookies to permanent cookies and force saving in cookies.txt
A typicall scenario to download a web site with WGET becomes:
- using Firefox, connect to the web sites, go through all the authentification forms or preliminary pages that are required
- execute AllCookies (just a simple item added in Firefox menu ) to update cookies.txt file
- launch wget
wget --load-cookies=z:\cookies.txt http://foo.com
On Windows XP, the cookies.txt file from Firefox is located in a somewhat complex location.
A shortcut can be made, using a DOS command to create a virtual drive
subst z: "c:\documents and setting\xxxx\Application Data\Mozilla\Firefox\Profiles\yyyy.default"