二、Beautiful Soup库(bs4)入门

该库可以解析HTML和XMLhtml 使用Beautiful Soup库:     html5     from bs4 import BeautifulSoup python      soup = BeautifulSoup('<p>data</p>', 'html.parser')       #html解析器:html.parser ,前一个参数则是要解析的内容学习 小测:spa from
相关文章
相关标签/搜索