fix hotbug🚀

This commit is contained in:
cvcat
2025-04-21 14:25:20 +08:00
parent fd67032f01
commit df07e54cd8
3 changed files with 4 additions and 12 deletions

View File

@ -31,7 +31,8 @@ def get_city_weather(city):
'locale': 'zh_CN',
'days': '1'
}
response = requests.get(URL, params=params, verify=False)
response = requests.get(URL, params=params)
print(111, response)
data = response.json()
current = data['current']
temperature = current['temperature']