基于「Docker」/「青龙面板」/「群晖」的每日签到脚本(支持多账号)签到列表: |爱奇艺|全民K歌|有道云笔记|百度贴吧|Bilibili|V2EX|AcFun|什么值得买|阿里云盘|i茅台申购|小米运动|百度搜索资源平台|恩山论坛|奥拉星|
6.79k
stars
1.22k
forks
source link
[Bug] 茅台下线了,本地环境跑python,第一步调用高德接口返INVALID_USER_KEY #427
Closed
cloudf85 closed 3 months ago
💻 系统环境
Windows
📦 部署环境
本地
🐛 问题描述
茅台账号过期下线了,然后按教程上lightly 要充值不能跑。本人python小白,把脚本搞本地idea里跑,第一步输入地址调用高德接口。返: {"status":"0","info":"INVALID_USER_KEY","infocode":"10001"} 上高德开放平台看key没什么异常状态,哪里错了
📝 运行日志
D:\Users\aaa\IdeaProjects\py-HelloWorld\venv\Scripts\python.exe D:\Users\aaa\IdeaProjects\py-HelloWorld\main.py 请输入精确小区位置,例如[小区名称],为你自动预约附近的门店:啊啊啊啊啊 {"status":"0","info":"INVALID_USER_KEY","infocode":"10001"} Traceback (most recent call last): File "D:\Users\aaa\IdeaProjects\py-HelloWorld\main.py", line 156, in
location_select: dict = get_location()
File "D:\Users\aaa\IdeaProjects\py-HelloWorld\main.py", line 134, in get_location
selects = select_geo(location)
File "D:\Users\aaa\IdeaProjects\py-HelloWorld\main.py", line 74, in select_geo
geocodes: list = resp.json()["geocodes"]
KeyError: 'geocodes'
Process finished with exit code 1