[issue43775] JSON Parsing Alarm: Requests + Json = JSONDecodeError

Serhiy Storchaka report at bugs.python.org
Thu Apr 8 15:34:41 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

JSON is not HTML. If response.text contains HTML, it is expected that json.loads() cannot parse it.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43775>
_______________________________________


More information about the Python-bugs-list mailing list