AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# 1.8.4 ScrapyRedis的安装 ScrapyRedis 是 Scrapy 分布式的扩展模块,有了它我们可以方便地实现 Scrapy 分布式爬虫的搭建。 ## 1. 相关链接 {#1-相关链接} * GitHub:[https://github.com/rmax/scrapy-redis](https://github.com/rmax/scrapy-redis) * PyPi:[https://pypi.python.org/pypi/scrapy-redis](https://pypi.python.org/pypi/scrapy-redis) * 官方文档:[http://scrapy-redis.readthedocs.io](http://scrapy-redis.readthedocs.io/) ## 2. 安装 {#2-pip安装} ```text pip install scrapy-redis ``` ## 3. 测试安装 {#4-测试安装} 安装完成之后,可以在 Python 命令行下测试。 ```text python3 >>> import scrapy_redis ``` 如果没有错误报出,则代表库已经安装好了。