2023-08-20 18:05:45.831 | ERROR | __main__:<module>:55 - 程序出现错误,错误信息:Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "requests\models.py", line 971, in json
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
> File "main.py", line 46, in <module>
File "api.py", line 88, in __init__
File "api.py", line 211, in get_token
File "api.py", line 206, in get_prepare
File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-08-20 18:05:45.965 | CRITICAL | __main__:<module>:56 - 错误追踪ID(可提供给开发者):574233ac61984a93a6901b8d71ac3a6b2023-08-20 18:05:45.965 | INFO | __main__:<module>:57 - 按回车将继续...
描述这个Bug
在get_prepare时获取的json格式错误
复现步骤
项目ID为75750 简易模式开启 仅检测模式关闭 临近开票5分钟前正常运行,突然无法正常获取json
预期操作
程序应循环监控余票剩余信息
截图
问题版本
main分支-Release
日志
我是最新版本