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
原文地址:https://www.cnblogs.com/whist/p/8611444.html