Re: cannot download mbox with python - Mailing list pgsql-www

From Daniel Gustafsson
Subject Re: cannot download mbox with python
Date
Msg-id EB2B3047-FAB1-4F5A-A535-6C3A82DFD945@yesql.se
Whole thread Raw
In response to cannot download mbox with python  (Pierre Forstmann <pierre.forstmann@gmail.com>)
Responses Re: cannot download mbox with python  (Pierre Forstmann <pierre.forstmann@gmail.com>)
List pgsql-www
> On 7 Dec 2023, at 16:34, Pierre Forstmann <pierre.forstmann@gmail.com> wrote:
>
> Hello,
>
> I'm trying to download
> https://www.postgresql.org/list/pgsql-bugs/mbox/pgsql-bugs.202312
> with following code using my postgresql.org account:
>
>     print(url + '... ')
>     response = requests.get(url, auth=('xxx','yyy'))

I'm not very well versed in Python, but isn't this for doing plain HTTP auth?
The postgresql.org account does not support http auth, you need to login and
create a session.

--
Daniel Gustafsson




pgsql-www by date:

Previous
From: Pierre Forstmann
Date:
Subject: cannot download mbox with python
Next
From: Pierre Forstmann
Date:
Subject: Re: cannot download mbox with python