空氣質量指數計算5.0

程序: import requests from bs4 import BeautifulSoup def get_city_aqi(city_pinyin): 「」" 獲取城市的AQI 「」" url = ‘http://pm25.in/’ + city_pinyin r = requests.get(url, timeout=30) soup = BeautifulSoup(r.text, ‘
相關文章
相關標籤/搜索