摘要:
方法:使该模块scrapy-fake-useragent 1,pip install scrapy-fake-useragent 2,在setting.py 写: 3,在 middlewares.py 写入: 或者: 然后就可以用啦 阅读全文
摘要:
去官网下载 ①https://pypi.python.org/pypi/pip ②下载之后的包上传到服务器上 ③然后解压 tar -zxvf *** ④解压之后会有个文件夹 ⑤进入到文件夹,执行命令python setup.py install 安装完之后执行 pip -V 如果能看到版本号,代表安 阅读全文
摘要:
参考这篇文件 转载链接:http://www.codexiu.cn/python/blog/26356/ 阅读全文
摘要:
1,在centos7中安装搜狗输入法: 参考链接:http://blog.csdn.net/u013296875/article/details/51328707 http://blog.sina.com.cn/s/blog_98df9a260102wc2z.html 2,在centos7中装个yu 阅读全文
摘要:
环境配置: http://splash.readthedocs.io/en/stable/install.html pip install scrapy-splash service docker start docker pull scrapinghub/splash docker run -p 阅读全文