爬取多玩图库中的搞笑gif, 支持windows,linux
selenium
pip install selenium
requests
pip install selenium
PhantomJS
到Phantomjs的官方网站http://phantomjs.org/download.html 下载“Download\phantomjs-1.9.0-windows.zip”。随后打开这个压缩包,将phantomjs.exe这一个文件解压到系统路径所能找到的地方,比如“C:\Python27\Scripts”。
无先后顺序,无参数,直接运行manager.py和worker.py ss