refactor: Implement structured data collection and configuration modules, replacing legacy city-specific files and updating documentation.

This commit is contained in:
2569718930@qq.com
2026-02-08 20:30:17 +08:00
parent c97265c4e5
commit 694b2f87c4
6 changed files with 50 additions and 111 deletions
+1
View File
@@ -25,6 +25,7 @@ def load_config():
"openweather_api_key": get_env_or_none("OPENWEATHER_API_KEY"),
"wunderground_api_key": get_env_or_none("WUNDERGROUND_API_KEY"),
"visualcrossing_api_key": get_env_or_none("VISUALCROSSING_API_KEY"),
"meteoblue_api_key": get_env_or_none("METEOBLUE_API_KEY"),
"proxy": os.getenv("HTTPS_PROXY") or os.getenv("HTTP_PROXY"),
},
"telegram": {