首页 › 答案 › 题库 › 知识竞赛未分类

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

解析源代码生成BeautifulSoup对象,soup=BeautifulSoup(网页源代码,'解析器'),其中解析器可以写为什么?
A.html
B.html.parser
C.lxml
D.parser
正确答案:AB