python Selenium+(firfox or chrome)采集

本来按书上写的使用PhantomJS,不过我安装的selenium版本现在不支持PhantomJS,需要对安装selenium低版本或使用selenium+火狐或谷歌浏览器两种方法来解决问题。

Selenium+PhantomJS使用时报错原因及解决方案

https://blog.csdn.net/u010358168/article/details/79749149

Firefox浏览器驱动GeckoDriver安装方法

https://blog.csdn.net/hy_696/article/details/80114065

 

Chrome浏览器驱动ChromeDriver安装方法

https://www.cnblogs.com/haiya2019/p/10627739.html

 

posted @ 2019-07-20 15:59  安静的披风  阅读(294)  评论(0编辑  收藏  举报