feat: Implement multi-source weather data collection with OpenWeatherMap, Visual Crossing, and NOAA METAR support.
This commit is contained in:
@@ -39,7 +39,7 @@ class WeatherDataCollector:
|
|||||||
self.config = config
|
self.config = config
|
||||||
self.wunderground_key = config.get("wunderground_api_key")
|
self.wunderground_key = config.get("wunderground_api_key")
|
||||||
|
|
||||||
self.timeout = 10
|
self.timeout = 20 # 增加超时以支持多模型请求
|
||||||
self.session = requests.Session()
|
self.session = requests.Session()
|
||||||
|
|
||||||
# 设置代理
|
# 设置代理
|
||||||
|
|||||||
Reference in New Issue
Block a user