QianyanTech / Image-Downloader

Download images from Google, Bing, Baidu. 谷歌、百度、必应图片下载.
MIT License
2.15k stars 561 forks source link

新版selenium不支持PhantomJS 要用老版本吗 #48

Open mote0302 opened 2 years ago

mote0302 commented 2 years ago

File "/Users/moo/project/01_yanglian/Image-Downloader/crawler.py", line 27, in dcap = dict(DesiredCapabilities.PHANTOMJS) AttributeError: type object 'DesiredCapabilities' has no attribute 'PHANTOMJS'

CH3OCH3-lio commented 2 years ago

4.1.0版本太高了 我卸载了重装了pip install selenium==2.48.0可以运行了