解析源代码生成BeautifulSoup对象,soup=BeautifulSoup(网页源代码,'解析器'),其中解析器可以写为什么?

2023-05-29

解析源代码生成BeautifulSoup对象,soup=BeautifulSoup(网页源代码,'解析器'),其中解析器可以写为什么?

A.html

B.html.parser

C.lxml

D.parser



参考答案:

AB