直接選擇lxml,在lxml中有HTML和XML的功能,速度快,容錯能力強。 2.基本用法. from bs4 import BeautifulSoup soup = BeautifulSoup(html,'lxml') ...
確定! 回上一頁