lxml 套件是用來作為 BeautifulSoup 的解析器(Parser), BeautifulSoup 可以 ... "lxml") # 指定lxml 作為解析器print(soup.prettify()) # 把排版後的html 印出來.
確定! 回上一頁