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

2021-04-09 Thread Maria Kazakova
Maria Kazakova added the comment: Thank you so much for the answers!! The problem was indeed with the data source, they have fixed it. Sorry for bothering you! Wish you all the best!!! -- nosy: -paul.moore, steve.dower, tim.golden, zach.ware resolution: -> fixed stage: -> re

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

2021-04-08 Thread Maria Kazakova
New submission from Maria Kazakova : 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