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:
- Tag
- NavigableString
- BeautifulSoup
- Comment
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:
Beautiful Soup:4 kinds of objects
原文:https://www.cnblogs.com/whist/p/8611444.html