Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBHPV-00ADLo-1A for pgsql-www@arkaria.postgresql.org; Thu, 07 Dec 2023 16:39:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rBHPT-001Gm4-N3 for pgsql-www@arkaria.postgresql.org; Thu, 07 Dec 2023 16:39:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBHPT-001Glw-BQ for pgsql-www@lists.postgresql.org; Thu, 07 Dec 2023 16:39:35 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rBHPP-00Aabw-Sv for pgsql-www@postgresql.org; Thu, 07 Dec 2023 16:39:34 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50bfd8d5c77so1132701e87.1 for ; Thu, 07 Dec 2023 08:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701967169; x=1702571969; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+X58aJJydykbC3CouMK5N3EMI4szuJr7ptRnEJ9q8zo=; b=ND0+fBTEBuBKGkU74uaVCu+RFEGbB0iFC6IX/1KykQppDvmgt5u0mg8WAruDP0FXem 42CsltIHe9cwwguZaLORcpbFeIdpuGzigPK1kzAI3nYxSM6d+THrimOAA5y/xBxaG49A 5AZa1H3ZxpBelTlIBQ6QYoTjID1QlARlRsaaCYFn4LzNhk7Z54GdiO1mp1jxscr2Mb/B 0xsIoMgGDYV2fPVaRk3YdCBtImS5MEsDRFvQyViYlbJwmsIOh2yZKdVVDRGt6mKr9zq7 hNFdavxbq56HljXHN/0E+jAV7JPS1A9kz6036AJ+EdweCuUKsb1uDfxu89UjCh89eLq8 M1mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701967169; x=1702571969; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+X58aJJydykbC3CouMK5N3EMI4szuJr7ptRnEJ9q8zo=; b=SIYkn2882+DShYrA5O5jlFRQfcIElIHbOsgJN1JZq7+y5jguW7taG8gV1ueCoQdcU/ LXWU/UjP8tojLx6GXDYqUuOH8cmZ5QzCoxmhnKGPpwcQB57sA3yDLaoQnnDrFc1BIE4V UB85b8SVpieIT1ypTBfo9dxrM6fuzoIhsb28rKCi8dsvIjHvvjmIsY3JbUCSHkdv3jeE Q9T9FscgUseCrxtPXcDBE5j8/1v+kmNbeLmls7ngJaHDylmRZ+3hXpvJVxbsgr8WXFMy 73PrTBm1Wwx59PzT4BvpxzUjQS5V/ykMV4LD1J2fSM0NtyawMpUIJDdUtNs0hTGuutDZ ZfkA== X-Gm-Message-State: AOJu0YytHWRfGhPXJwdZbSdae26AyOyw7lRQ6+cnHU1rpyFJFqsqpB51 P+p+8NrQknR7rj7jzm6Z1PtDy/NzzSaAUcZLqfkaF3g4uW0= X-Google-Smtp-Source: AGHT+IEZ0BYlgVsiQhI8oRmKq7FlBQoX/ediJTpIroRn8X8MJcfePVMERou3L81E5Cl13Zd5T42jCLeGucZQLYNM314= X-Received: by 2002:a19:4f5b:0:b0:50b:e111:88f7 with SMTP id a27-20020a194f5b000000b0050be11188f7mr857255lfk.194.1701967169077; Thu, 07 Dec 2023 08:39:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pierre Forstmann Date: Thu, 7 Dec 2023 17:39:18 +0100 Message-ID: Subject: Re: cannot download mbox with python To: daniel@yesql.se Cc: pgsql-www@postgresql.org Content-Type: multipart/alternative; boundary="0000000000008847f2060bee1c54" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008847f2060bee1c54 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've tried this: import requests from urllib.parse import urlparse url =3D 'https://www.postgresql.org/list/pgsql-bugs/mbox/pgsql-bugs.202312' #response =3D requests.get(url, auth=3D('xxx','yyy')) session =3D requests.session() session.auth =3D ('xxx','yyy') response =3D session.get(url) print('status: ' + str(response.status_code)) print('... done') print(response.content) But I've have same behaviour: status: 200 ... done b'\n\n \n PostgreSQL: \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n
\n
\n
\n \n \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
<= !-- pgSideWrap -->\n
\n
\n
\n \n

Sign in

\n

\n\nThe website you are trying to log in to (List archives) is using the\npostgresql.org community login system. In this system you create a\ncentral account that is used to log into most postgresql.org services.\nOnce you are logged into this account, you will automatically be\nlogged in to the associated postgresql.org services.\n\n

\n

\nIf you do not already have an account,\nyou can either create\na dedicated account, or use one of the third party sign-in systems below.\n

\n\n

Community account sign-in

\n

\nIf you have a postgresql.org community account with a password, please\nuse the form below to sign in. If you have one but have lost your\npassword, you can use the password reset form.\n

\n\n\n
= \n
\n \n
\n
\n \n \n \n
\n
\n \n
\n
\n\n\n

Third party sign in

\n\n

3D"Sign3D"Sign

\n\n

3D"Sign

\n\n

3D"Sign

\n\n\n\n\n
\n
\n
\n
\n\n \n \n \n \n \n \n\n \n\n' Thanks Le jeu. 7 d=C3=A9c. 2023 =C3=A0 17:06, Daniel Gustafsson = a =C3=A9crit : > > On 7 Dec 2023, at 16:34, Pierre Forstmann > 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 =3D requests.get(url, auth=3D('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 > > --0000000000008847f2060bee1c54 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I&= #39;ve tried this:



status: 20= 0
... done
b'<!doctype html>\n<html lang=3D"en"= ;>\n <head>\n =C2=A0<title>PostgreSQL: </title>\n =C2= =A0<meta name=3D"viewport" content=3D"width=3Ddevice-widt= h, initial-scale=3D1, shrink-to-fit=3Dno">\n =C2=A0<meta http-eq= uiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8&= quot; />\n =C2=A0 \n =C2=A0<meta name=3D"theme-color" conte= nt=3D"#336791"/>\n =C2=A0<meta name=3D"copyright"= content=3D"The PostgreSQL Global Development Group" />\n =C2= =A0<link href=3D"/media/css/fontawesome.css?97a426bd" rel=3D&q= uot;stylesheet">\n =C2=A0<link rel=3D"stylesheet" href= =3D"/media/css/bootstrap-4.4.1.min.css">\n =C2=A0<link rel= =3D"shortcut icon" href=3D"/favicon.ico" />\n =C2=A0= \n =C2=A0<link rel=3D"stylesheet" type=3D"text/css" = href=3D"/dyncss/base.css?97a426bd">\n\n =C2=A0<script src= =3D"/media/js/theme.js?97a426bd"></script>\n\n =C2=A0\n = =C2=A0</head>\n =C2=A0<body>\n =C2=A0 =C2=A0<div class=3D&qu= ot;container-fluid">\n =C2=A0 =C2=A0 =C2=A0<div class=3D"ro= w justify-content-md-center">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<div = class=3D"col">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<!-- Hea= der -->\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<nav class=3D"navbar= navbar-expand-lg navbar-light bg-light">\n =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0<a class=3D"navbar-brand p-0" href=3D"= ;/">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<img clas= s=3D"logo" src=3D"/media/img/about/press/elephant.png" = alt=3D"PostgreSQL Elephant Logo">\n =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0</a>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<= button class=3D"navbar-toggler" type=3D"button" data-to= ggle=3D"collapse" data-target=3D"#pgNavbar" aria-contro= ls=3D"pgNavbar" aria-expanded=3D"false" aria-label=3D&q= uot;Toggle navigation">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0<span class=3D"navbar-toggler-icon"></span>\n = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</button>\n =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0<div class=3D"collapse navbar-collapse&q= uot; id=3D"pgNavbar">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0<ul class=3D"navbar-nav mr-auto">\n =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li class=3D"nav-item p-2= "><a href=3D"/" title=3D"Home">Home</a= ></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&l= t;li class=3D"nav-item p-2"><a href=3D"/about/" t= itle=3D"About">About</a></li>\n =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li class=3D"nav-item p-2&quo= t;><a href=3D"/download/" title=3D"Download">D= ownload</a></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0<li class=3D"nav-item p-2"><a href=3D"= /docs/" title=3D"Documentation">Documentation</a>&l= t;/li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li c= lass=3D"nav-item p-2"><a href=3D"/community/" tit= le=3D"Community">Community</a></li>\n =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li class=3D"nav-item = p-2"><a href=3D"/developer/" title=3D"Developers&= quot;>Developers</a></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0<li class=3D"nav-item p-2"><a hr= ef=3D"/support/" title=3D"Support">Support</a>= </li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li= class=3D"nav-item p-2"><a href=3D"/about/donate/"= ; title=3D"Donate">Donate</a></li>\n =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<li class=3D"nav-item p-2= "><a href=3D"/account/" title=3D"Your account&quo= t;>Your account</a></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0</ul>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0<form role=3D"search" method=3D"get" action=3D= "/search/">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0<div class=3D"input-group">\n =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<input id=3D"q" name= =3D"q" type=3D"text" size=3D"20" maxlength=3D= "255" accesskey=3D"s" =C2=A0class=3D"form-control&= quot; placeholder=3D"Search for...">\n =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<span class=3D"input-group= -btn">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0<button class=3D"btn btn-default" type=3D"su= bmit"><i class=3D"fas fa-search"></i></but= ton>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<= ;/span>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</di= v><!-- /input-group -->\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0</form>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= lt;form id=3D"form-theme" class=3D"form-inline d-none"&= gt;\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<button id= =3D"btn-theme" class=3D"btn btn-default ml-1" type=3D&q= uot;button"></button>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0</form>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</= div>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</nav>\n =C2=A0 =C2=A0 = =C2=A0 =C2=A0</div>\n =C2=A0 =C2=A0 =C2=A0</div>\n =C2=A0 =C2= =A0 =C2=A0<div class=3D"row justify-content-center pg-shout-box&quo= t;>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<div class=3D"col text-white te= xt-center">9th November 2023: <a href=3D"/about/news/postgr= esql-161-155-1410-1313-1217-and-1122-released-2749/">\n =C2=A0Postg= reSQL 16.1, 15.5, 14.10, 13.13, 12.17, and 11.22 Released!\n</a>\n\n&= lt;/div>\n =C2=A0 =C2=A0 =C2=A0</div>\n =C2=A0 =C2=A0</div>\= n =C2=A0 =C2=A0\n<div class=3D"container-fluid margin">\n = =C2=A0<div class=3D"row">\n =C2=A0 =C2=A0<div class=3D&q= uot;col-lg-2">\n =C2=A0 =C2=A0 =C2=A0<div id=3D"pgSideWrap&= quot;>\n =C2=A0 =C2=A0 =C2=A0 \n =C2=A0 =C2=A0 =C2=A0</div> <!-= - pgSideWrap -->\n =C2=A0 =C2=A0</div>\n =C2=A0 =C2=A0<div clas= s=3D"col-lg-10">\n =C2=A0 =C2=A0 =C2=A0<div id=3D"pgCo= ntentWrap">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0\n<h1>Sign in <i = class=3D"fas fa-sign-in-alt"></i></h1>\n<p>\= n\nThe website you are trying to log in to (List archives) is using the\
npostgresql.org community login system.= In this system you create a\ncentral account that is used to log into most= postgresql.org services.\nOnce you a= re logged into this account, you will automatically be\nlogged in to the as= sociated postgresql.org services.\n\n= </p>\n<p>\nIf you do not already have an account,\nyou can eith= er <a href=3D"/account/signup/">create</a>\na dedicat= ed account, or use one of the third party sign-in systems below.\n</p>= ;\n\n<h2>Community account sign-in</h2>\n<p>\nIf you have= a postgresql.org community account w= ith a password, please\nuse the form below to sign in. If you have one but = have lost your\npassword, you can use the <a href=3D"/account/reset= /">password reset</a> form.\n</p>\n\n\n<form action= =3D"." method=3D"post" id=3D"login-form">&= lt;input type=3D"hidden" name=3D"csrfmiddlewaretoken" v= alue=3D"74NVUzwZ2xyfKCjEKU55vymmVDYvbgwiZHKhjCpIvdoYT7zPBvHYk9KOcVXgJn= g3">\n =C2=A0<div class=3D"form-group">\n =C2=A0 = =C2=A0<input type=3D"text" class=3D"form-control" na= me=3D"username" id=3D"id_username" placeholder=3D"= Username or email address" autofocus />\n =C2=A0</div>\n =C2= =A0<div class=3D"form-group">\n =C2=A0 =C2=A0<input type= =3D"password" class=3D"form-control" name=3D"passw= ord" id=3D"id_password" placeholder=3D"Password"/&= gt;\n =C2=A0 =C2=A0<input type=3D"hidden" name=3D"this_is= _the_login_form" value=3D"1" />\n =C2=A0 =C2=A0<input = type=3D"hidden" name=3D"next" value=3D"/account/au= th/21/?d=3D4LgkpffGQZ-w7rNu0SrH0A=3D=3D$UcDKaTr8VxPom_YBpCfbgbv_aWh1WKTFT5l= WX_XFUObGzyUqbaMnLclP3VMUfEDQaHEbrzaMs74Py2lrQ0atyw=3D=3D" />\n =C2= =A0</div>\n =C2=A0<div class=3D"submit-row">\n =C2=A0= =C2=A0<input class=3D"btn btn-primary" type=3D"submit&qu= ot; value=3D"Community Sign-In">\n =C2=A0</div>\n</fo= rm>\n\n\n<h2>Third party sign in</h2>\n\n<p><a href= =3D"/account/login/facebook/?next=3D/account/auth/21/?d=3D4LgkpffGQZ-w= 7rNu0SrH0A=3D=3D$UcDKaTr8VxPom_YBpCfbgbv_aWh1WKTFT5lWX_XFUObGzyUqbaMnLclP3V= MUfEDQaHEbrzaMs74Py2lrQ0atyw=3D=3D"><img src=3D"/media/img/= misc/btn_login_facebook.png" alt=3D"Sign in with Facebook" /= ></a></p>\n\n<p><a href=3D"/account/login/gith= ub/?next=3D/account/auth/21/?d=3D4LgkpffGQZ-w7rNu0SrH0A=3D=3D$UcDKaTr8VxPom= _YBpCfbgbv_aWh1WKTFT5lWX_XFUObGzyUqbaMnLclP3VMUfEDQaHEbrzaMs74Py2lrQ0atyw= =3D=3D"><img src=3D"/media/img/misc/btn_login_github.png&qu= ot; alt=3D"Sign in with Github" /></a></p>\n\n<= p><a href=3D"/account/login/google/?next=3D/account/auth/21/?d= =3D4LgkpffGQZ-w7rNu0SrH0A=3D=3D$UcDKaTr8VxPom_YBpCfbgbv_aWh1WKTFT5lWX_XFUOb= GzyUqbaMnLclP3VMUfEDQaHEbrzaMs74Py2lrQ0atyw=3D=3D"><img src=3D&q= uot;/media/img/misc/btn_login_google.png" alt=3D"Sign in with Goo= gle" /></a></p>\n\n<p><a href=3D"/account= /login/microsoft/?next=3D/account/auth/21/?d=3D4LgkpffGQZ-w7rNu0SrH0A=3D=3D= $UcDKaTr8VxPom_YBpCfbgbv_aWh1WKTFT5lWX_XFUObGzyUqbaMnLclP3VMUfEDQaHEbrzaMs7= 4Py2lrQ0atyw=3D=3D"><img src=3D"/media/img/misc/btn_login_m= icrosoft.png" alt=3D"Sign in with Microsoft" /></a>= </p>\n\n\n\n\n =C2=A0 =C2=A0 =C2=A0</div> <!-- pgContentWrap= -->\n =C2=A0 =C2=A0</div>\n =C2=A0</div>\n</div>\n\n = =C2=A0 =C2=A0<!-- Footer -->\n =C2=A0 =C2=A0<footer id=3D"foo= ter">\n =C2=A0 =C2=A0 =C2=A0<div class=3D"container"&g= t;\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<div class=3D"row">\n =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<div class=3D"col-md-12">\n = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<ul>\n =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0<li><a href=3D"https://twitter.com/postgresql"><img= src=3D"/media/img/atpostgresql.png" alt=3D"@postgresql"= ;></a></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0<li><a href=3D"https://git.postgresql.org/gitweb/?p=3Dpostgresql.gi= t"><img src=3D"/media/img/git.png" alt=3D"Git= "></a></li>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= </ul>\n =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</div>\n =C2=A0 =C2= =A0 =C2=A0 =C2=A0</div>\n =C2=A0 =C2=A0 =C2=A0</div>\n =C2=A0 = =C2=A0 =C2=A0<!-- Copyright -->\n =C2=A0 =C2=A0 =C2=A0<div class= =3D"container">\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D&quo= t;/about/policies/">Policies</a> |\n =C2=A0 =C2=A0 =C2=A0 =C2= =A0<a href=3D"/about/policies/coc/">Code of Conduct</a&g= t; |\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"/about/">About= PostgreSQL</a> |\n =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"/ab= out/contact/">Contact</a><br/>\n =C2=A0 =C2=A0 =C2=A0 = =C2=A0<p>Copyright &copy; 1996-2023 The PostgreSQL Global Develop= ment Group</p>\n =C2=A0 =C2=A0 =C2=A0</div>\n =C2=A0 =C2=A0<= /footer>\n =C2=A0 =C2=A0<script src=3D"/media/js/jquery-3.4.1.sl= im.min.js"></script>\n =C2=A0 =C2=A0<script src=3D"/m= edia/js/popper-1.16.0.min.js"></script>\n =C2=A0 =C2=A0<sc= ript src=3D"/media/js/bootstrap-4.4.1.min.js"></script>\= n =C2=A0 =C2=A0<script src=3D"/media/js/main.js?97a426bd">&= lt;/script>\n\n =C2=A0</body>\n</html>\n'

Thanks
=
= Le=C2=A0jeu. 7 d=C3=A9c. 2023 =C3=A0=C2=A017:06, Daniel Gustafsson <daniel@yesql.se> a =C3=A9crit=C2=A0:<= br>
> On 7 Dec 20= 23, at 16:34, Pierre Forstmann <pierre.forstmann@gmail.com> wrote:
>
> Hello,
>
> I'm trying to download
> https://www.postgresql.org/lis= t/pgsql-bugs/mbox/pgsql-bugs.202312
> with following code using my postgresql.org account:
>
>=C2=A0 =C2=A0 =C2=A0print(url + '... ')
>=C2=A0 =C2=A0 =C2=A0response =3D requests.get(url, auth=3D('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 an= d
create a session.

--
Daniel Gustafsson

--0000000000008847f2060bee1c54--