我們可以利用xpath根據網頁的標籤來爬取所需要的數據。 import requests from lxml import etree# 請求並接收 response = requests.get("https://ithelp.ithome.com ...
確定! 回上一頁