用lxml 的 etree.HTML() 方法載入HTML 原始資料後,可以用 .xpath() 方法來執行XPath 查詢: from lxml import etree # 載入HTML 原始資料html = etree.
確定! 回上一頁