justinzm/gopup

百度历史疫情热搜获取出错

YW1028 opened this issue · 2 comments

百度历史疫情热搜获取出错

spot_report = pd.DataFrame(json_data["Result"][0]["DisplayData"]["result"]["items"])
IndexError: list index out of range

疫情飙升榜也有同样的问题
spot_report = pd.DataFrame(json_data["Result"][0]["DisplayData"]["result"]["items"])
IndexError: list index out of range