码迷,mamicode.com
首页 > 其他好文 > 详细

Beautiful Soup:4 kinds of objects

时间:2018-03-20 19:46:13      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:eve   navig   comment   bsp   tree   into   nsf   tag   with   

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

标签:eve   navig   comment   bsp   tree   into   nsf   tag   with   

原文地址:https://www.cnblogs.com/whist/p/8611444.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!