Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6322
| From | druck <news@druck.org.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Accessing a password-protected page via wget |
| Date | 2022-01-22 10:25 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <ssgm31$9al$1@dont-email.me> (permalink) |
| References | <dd8749ae59.harriet@bazleyfamily.co.uk> |
On 21/01/2022 13:43, Harriet Bazley wrote: > I've been trying to use wget to retrieve a page that is only accessible > to logged-in users (user stats - so that I can analyse them and keep a > running record of changes). > Basically, I can't seem to get the correct syntax for the site to > receive/recognise my name and password in the first place, let alone to > serve up the stats page requested.... It will be possible to do this with wget (or curl), but as you can see from the other responses, it involves sprinkling fairy dust over the correct magic runes. It may be easier to use Python with the requests module for this, as it can set up auth headers and suchlike. ---druck
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Accessing a password-protected page via wget Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-21 13:43 +0000
Re: Accessing a password-protected page via wget Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-21 15:11 +0000
Re: Accessing a password-protected page via wget Kevin Wells <kev@kevsoft.co.uk> - 2022-01-21 16:54 +0000
Re: Accessing a password-protected page via wget Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-21 17:45 +0000
Re: Accessing a password-protected page via wget Steve Fryatt <news@stevefryatt.org.uk> - 2022-01-21 18:57 +0000
Re: Accessing a password-protected page via wget Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-21 20:28 +0000
Re: Accessing a password-protected page via wget druck <news@druck.org.uk> - 2022-01-22 10:25 +0000
Re: Accessing a password-protected page via wget Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-22 12:17 +0000
csiph-web