We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python app/main.py 110000 2020-05-31 03:15:29,322 root[config] INFO: 使用配置文件 "config.json". 2020-05-31 03:15:29,323 root[config] WARNING: 配置文件不存在, 使用默认配置文件 "config.default.json". 2020-05-31 03:15:29,580 root[main] INFO: 初始化/更新城市信息... city_id=110000 Traceback (most recent call last): File "app/main.py", line 209, in main() File "app/main.py", line 20, in main update_city(city_id) File "app/main.py", line 30, in update_city city_info = get_city_info(city_id) File "app/main.py", line 73, in get_city_info data = util.get_data(url, payload, method='POST') File "C:\Users\lihon\PycharmProjects\Fast-LianJia-Crawler\app\util_init_.py", line 27, in get_data return parse_data(r) File "C:\Users\lihon\PycharmProjects\Fast-LianJia-Crawler\app\util_init_.py", line 35, in parse_data raise Exception('请求出错了: ' + as_json['error']) Exception: 请求出错了: 无效的请求
The text was updated successfully, but these errors were encountered:
好像是api失效了
Sorry, something went wrong.
No branches or pull requests
python app/main.py 110000
2020-05-31 03:15:29,322 root[config] INFO: 使用配置文件 "config.json".
2020-05-31 03:15:29,323 root[config] WARNING: 配置文件不存在, 使用默认配置文件 "config.default.json".
2020-05-31 03:15:29,580 root[main] INFO: 初始化/更新城市信息... city_id=110000
Traceback (most recent call last):
File "app/main.py", line 209, in
main()
File "app/main.py", line 20, in main
update_city(city_id)
File "app/main.py", line 30, in update_city
city_info = get_city_info(city_id)
File "app/main.py", line 73, in get_city_info
data = util.get_data(url, payload, method='POST')
File "C:\Users\lihon\PycharmProjects\Fast-LianJia-Crawler\app\util_init_.py", line 27, in get_data
return parse_data(r)
File "C:\Users\lihon\PycharmProjects\Fast-LianJia-Crawler\app\util_init_.py", line 35, in parse_data
raise Exception('请求出错了: ' + as_json['error'])
Exception: 请求出错了: 无效的请求
The text was updated successfully, but these errors were encountered: