嗨,我有一个页面上的图片,必须下载,然后用于导入到另一个网站
whis是站点的外观
我想使用xpath下载它,xpath是//*[@id="word-img"]/img
图片的代码如下所示
<div id="word-img" style="width: 600px; height: 200px; margin-bottom: 20px; background: white;"><img src="https://10fastfingers.com/anticheat/generate_word_picture?rand=8644839612" alt=""></div>
<img src="https://10fastfingers.com/anticheat/generate_word_picture?rand=8644839612" alt="">
有几种方法可以做到这一点。
1.
相关问题 更多 >
编程相关推荐