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

行业问题 已帮助 人

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

A.html

B.html.parser

C.lxml

D.parser

正确答案:AB

Www.weNTiyi.com

问题来自[问题易],本页地址:https://www.wentiyi.com/wenti/3140185.html