@
caoz 作者你好,这个程序已经不能用了,会报“无效的请求”,报错如下:
Traceback (most recent call last):
File "Fast-LianJia-Crawler/app/
main.py", line 209, in <module>
main()
File "Fast-LianJia-Crawler/app/
main.py", line 20, in main
update_city(city_id)
File "Fast-LianJia-Crawler/app/
main.py", line 30, in update_city
city_info = get_city_info(city_id)
File "Fast-LianJia-Crawler/app/
main.py", line 73, in get_city_info
data = util.get_data(url, payload, method='POST')
File "Fast-LianJia-Crawler\app\util\
__init__.py", line 27, in get_data
return parse_data(r)
File "Fast-LianJia-Crawler\app\util\
__init__.py", line 35, in parse_data
raise Exception('请求出错了: ' + as_json['error'])
Exception: 请求出错了: 无效的请求