[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Can someone please help with wget log-in ? apparently I'm
Wed, 06 Jun 2012 23:24:13 +0200
On 06/06/12 20:30, Micah Cowan wrote:
> Chances are good that authenticity_token, at least, would need to be
> parsed out from the original login page when you get it, and fed back
> to it in the post-data. How you manage that will be up to you (Perl
> could get you something quick-and-dirty). Good luck! -mjc
Even easier, you could manually login from your browser and then download
to wget (assuming you won't be automatically fetching new files for so long
it timeouts, or that it's ok to do a relogin).
You just login with your browser, then look at the cookies, in this case:
So I simply run:
wget --header 'Cookie:
(or any other file)
And it downloads fine.