Python中文
首页
教程
问答
标签
搜索
登录
注册
scrapy xpath:无法获取google next pag
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我想在<code>https://www.google.com.tw/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=test</code>中得到下一页</p> <p>但我的代码不起作用。<br/> 请引导我。非常感谢你。在</p> <pre><code> scrapy shell "https://www.google.com.tw/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=test" response.xpath("//a[@id='pnnext']/@href") </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>你能试着用下面的x路径告诉我结果吗是。看起来就像使用的xpath没有指向web元素在DOM中的确切位置一样。在</p> <pre><code>//a[@id='pnnext']//span[2] </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
想用靓汤抢夺价值
7 回答
想申请一份符合工作描述的简历吗
9 回答
想画网格,Python
1 回答
想白痴化我的Python战舰
6 回答
想看两列日期,但只上
5 回答
想看看我写的这个脚本读一个Fortran二进制fi吗
8 回答
想知道Django是如何实现ORM查询优化的吗
5 回答
想知道GeoDjango和地图服务吗
5 回答
想知道Image.resize操作在PIL文件中的详细工作方式吗
5 回答
想知道matplotlib pyplot为什么不调整边距
10 回答
想知道matplotlib颜色的颜色代码吗
6 回答
想知道pd.factorize,pd.get_dummies,sklearn.preprocessing.labeencoder和OneHotEncod之间的区别
10 回答
想知道property()在python中的实际用法吗
6 回答
想知道pyodidejs是如何工作的吗?
3 回答
想知道pyparsing==2.0.1的已完成处理依赖关系
10 回答
想知道ScikitLearn中的编码算法吗
10 回答
想知道VTK 5.04和VTK 5.4.2的vtkMassProperties差异吗
2 回答
想知道一个特定字符在一个特定句子中出现的次数吗
6 回答
想知道两个不同子集的重叠中有多少个对象吗
3 回答
想知道为什么is_素数函数的结果不正确吗
6 回答