摘要:
Xpath基础使用方法 '''谷歌浏览器右键html标签可以直接拷贝css选择器和xpath选择器''' # s-top-left > a:nth-child(4) # //*[@id="s-top-left"]/a[4] # 基本语法 # 模拟爬取过来的html页面数据 doc=''' <html 阅读全文
posted @ 2021-01-15 09:45
杨梅冲
阅读(126)
评论(0)
推荐(0)
|
杨梅冲
每天在想什么呢? |