mac 安装scrapy-Splash、Redis

使用docker安装,命令

docker run -p 8050:8050 scrapinghub/splash

安装完成在浏览器 localhost:8050可以看到splash主页

安装到远程服务器

docker run -d -p 8050:8050 scrapinghub/splash


安装Scrapy-Splash

使用pip3进行安装

pip3 install scrapy-splash

安装Scrapy-redis

pip3 install scrapy-redis

安装wheel

pip3 install scrapy_redis-0.6.8-py2.py3-none-any.whl

测试

python3

import scrapy_redis

猜你喜欢

转载自blog.csdn.net/benben0729/article/details/80232043