会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
hellojacker
博客园
首页
新随笔
联系
管理
订阅
2024年1月23日
爬虫基础之xpath基础语法
摘要: 路径查找 //:子孙节点,不考虑层级 /:找直接子节点 谓词查询 //div【@id="content"】 属性查询 //@class 模糊查询 //div[contains(@id,"he")] //div[starts-with(@id, "he")] 内容查询 //div/h1/text()
阅读全文
posted @ 2024-01-23 15:27 HelloJacker
阅读(1)
评论(0)
推荐(0)
编辑
公告