Thursday, 20 January 2022

Re: Using Netsurf cookies with wget

On 20 Jan 2022 as I do recall,
simon_smith@zen.co.uk wrote:

[snip]

>
> The cookie part is probably a red herring. The conventional approach
> would be to use the wget tools to fetch the login page and send
> username and password using the features wget has built-in. Hey
> presto, now you're logged in, via wget, and you should be able to get
> the rest of the stuff you're after.

I've tried "wget --ask-password URL", which prompts me for the password
but then redirects to fetch the login page as if I were not logged in,
and "wget --user=USER --password=PASSWORD URL", which also redirects to
the login page instead of retrieving the one I asked for.

I've tried fetching the login page directly using --user and --pass, but
it just fetches the 'please log in' prompt instead of the 'you are
already signed in' prompt.

I've tried using the --save-cookies option to save any cookies generated
by 'logging in', and it just saves a blank "generated by Wget" file with
no data in it.

I've tried --load-cookies=SCSI::SSD.$.!BOOT.Choices.WWW.NetSurf.Cookies
on the offchance, but that didn't work either....


--
Harriet Bazley == Loyaulte me lie ==

My opinions may have changed, but not the fact that I am right.
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

No comments:

Post a Comment