![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫学习专栏
通过使用python的爬虫框架学习python强大的爬虫技巧
Gaoshiguo112
这个作者很懒,什么都没留下…
展开
-
使用selenium实现浏览器中鼠标右键单击保存文件从而实现图片自动下载功能
使用selenium实现浏览器中鼠标右键单击保存文件我们选择美图网作为学习的网址:美图网我们可以通过模拟鼠标的右键单击然后保存图片的操作,将图片自动的保存到本地。具体代码如下:from selenium.webdriver.common.action_chains import ActionChainsfrom selenium.webdriver.common.keys impor...原创 2019-10-10 13:49:29 · 2516 阅读 · 4 评论 -
使用selenium自动下载批量图片
使用selenium自动下载批量图片from selenium import webdriverfrom selenium.webdriver.common.keys import Keysimport timefrom bs4 import BeautifulSoupimport refrom selenium.webdriver.common.action_chains impor...原创 2019-10-10 14:47:36 · 2020 阅读 · 0 评论