爬虫学习碎碎念——beautifulsoup,信息提取

  bs4解析提取html页面 遍历功能 .contents遍历前后父节点,孙节点 下行遍历 .children子节点 .descendants子孙节点 上行遍历 .parent当前节点父节点 .parents当前节点所有先辈节点 平行遍历 .next_sibling .previous_sibling .next_siblings .previous_siblings   soup = Beau
相关文章
相关标签/搜索