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
posted @ 2018-03-20 18:44  whist  阅读(125)  评论(0)    收藏  举报