Closed cnkenan closed 5 years ago
每天发送的数据为none,因为天气API更换了域名,需要修改 weather_url = f'http://t.weather.itboy.net/api/weather/city/{city_code}'
weather_url = f'http://t.weather.itboy.net/api/weather/city/{city_code}'
https://www.sojson.com/blog/305.html
我刚测试了一下,http://t.weather.sojson.com/api/weather/city/{city_code} 这个的接口还可以用。
那我也不知道嘞,本来好几天运行只显示none,换了这个接口才好了,感谢大神
每天发送的数据为none,因为天气API更换了域名,需要修改
weather_url = f'http://t.weather.itboy.net/api/weather/city/{city_code}'