mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-15 07:03:16 +08:00
Update weather.py
This commit is contained in:
@@ -61,7 +61,7 @@ def get_current_city():
|
||||
logging.error("JSON decode error when parsing current city data: %s", e)
|
||||
return None
|
||||
|
||||
def getWeath(city='101060101'):
|
||||
def getWeath(city='101060111'):
|
||||
headers = {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
|
||||
'Referer': 'http://www.weather.com.cn/'
|
||||
|
||||
Reference in New Issue
Block a user