t3nsor/quora-backup

crawler.py run error?.

mbchandru opened this issue · 0 comments

Hi, Please help..
Downloading from Quora. Whn running crawler.py, the below error happens

Traceback (most recent call last):
File "./crawler.py", line 100, in
answers = json.load(input_file)
File "/usr/lib/python3.7/json/init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 1 column 5572 (char 5571)