New submission from Maria Kazakova <marikasak...@gmail.com>: 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 :(
---------- components: Windows messages: 390539 nosy: marikasakowa, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: JSON Parsing Alarm: Requests + Json = JSONDecodeError type: crash versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com