Beautiful Soup:4 kinds of objects

Posted whist

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Beautiful Soup:4 kinds of objects相关的知识,希望对你有一定的参考价值。

Beautiful Soup transforms a complex html document into a complex tree of Python objects. But you’ll only ever have to deal with about four kinds of objects: 

  1. Tag
  2. NavigableString
  3. BeautifulSoup
  4. Comment

以上是关于Beautiful Soup:4 kinds of objects的主要内容,如果未能解决你的问题,请参考以下文章

python 之beautiful soup 4 warning

Beautiful Soup-4.2.0

使用Beautiful Soup 4提取特定列表项

Beautiful Soup 4.2.0文档阅读笔记

Beautiful Soup 4 导入错误?安装错误?

Beautiful Soup 4.2.0 文档