zhishixingqiu_spider icon indicating copy to clipboard operation
zhishixingqiu_spider copied to clipboard

TypeError: 'NoneType' object is not subscriptable

Open Shikieik opened this issue 6 years ago • 0 comments

Traceback (most recent call last):

File "zhishixingqiu_spider.py", line 87, in get_json(20, "2018-01-05T17:35:07.366+0800") File "zhishixingqiu_spider.py", line 22, in get_json end_time=get_endtime(data) File "zhishixingqiu_spider.py", line 60, in get_endtime end_time=json.loads(data).get("resp_data").get("topics")[19].get("create_time") TypeError: 'NoneType' object is not subscriptable

Shikieik avatar Feb 25 '19 06:02 Shikieik