I want to download this webpage:
but it require username and password. So I have used this
wget --save-cookies cookies.txt --post-data 'user=goyamy&passwrd=mypassword' http://forum.ubuntu-it.org/
but it does not work !! Why?
that's possibly because the server uses session cookies to track authentication. Add this option alongside --save-cookies to force the cookie to be saved. so your commmand looks like this
I haven't tested it though.
Here is an example script which will dump Cookies from Chrome (v19).
As Colin suggests, this site is using session cookies for authentication, but his answer won't fully work because it won't get you logged in.
You need to have a cookie for wget to pass to the server on the initial request. Use wget's
Here's what I would do:
Options to convert from sqlite format to cookies.txt include a python script or a simpler sqlite script (in the comments on that previous link), but the easiest for you might be to install this Firefox extension.