1.中國天氣網 http://www.weather.com.cn/weather/101010100.shtml 2.分析頁面 3.瀏覽器-F12-定位查看元素嵌套關係 4.導入需要的庫 import requests from bs4 import BeautifulSoup import re 5.代碼部分 result_list_wt = [] def get_p