Message390539
I tried to use the usual code:
response = requests.get (url)
response.json () OR json.loads (response.text)
BUT
it returns JSONDecodeError Expecting value: line 1 column 1 (char 0) — no matter, which website I am trying to parse, with headers or without them.
However, response.status_code = 200 and response.text returns the whole html-content. Two days ago everything worked completely fine, and now this disaster happens. I asked a couple of friends to try the same — and everyone failed to succeed, everyone gets this error — using Jupyter Notebook (+Anaconda, Python 3.7), PyCharm (+Python 3.9) and Google Colab.
Please help :( |
|
Date |
User |
Action |
Args |
2021-04-08 17:56:34 | marikasakowa | set | recipients:
+ marikasakowa, paul.moore, tim.golden, zach.ware, steve.dower |
2021-04-08 17:56:34 | marikasakowa | set | messageid: <1617904594.75.0.587910269593.issue43775@roundup.psfhosted.org> |
2021-04-08 17:56:34 | marikasakowa | link | issue43775 messages |
2021-04-08 17:56:34 | marikasakowa | create | |
|