作业运行之间的报废状态
scrapy-state的Python项目详细描述
发痒状态
作业运行之间的混乱状态。从设置重新创建蜘蛛的状态 见https://medium.com/@alex_ber/scrapy-state-between-job-runs-b880c7b34a9d
看到了吗变更日志.md详细说明。在
获得帮助
快速启动
python3 -m pip install -U scrapy-state
从Github安装
^{pr2}$可选安装测试要求。在
python3 -m pip install -U https://github.com/alex-ber/scrapy-state/archive/master.zip#egg=alex-ber-utils[tests]
或者明确:
wget https://github.com/alex-ber/scrapy-state/archive/master.zip -O master.zip; unzip master.zip; rm master.zip
然后从源代码安装(见下文)。在
从源安装
python3 -m pip install . # only installs "required"
python3 -m pip install .[tests]# installs dependencies for tests
或者,您可以从需求文件安装:
python3 -m pip install -r req.txt # only installs "required" (relaxed)
python3 -m pip install -r requirements.txt # only installs "required"
python3 -m pip install -r requirements-tests.txt # installs dependencies for tests
从目录中设置.py在
python3 setup.py test#run all tests
或者
pytest
安装新版本
见https://docs.python.org/3.1/distutils/uploading.html
python3 setup.py sdist upload
要求
scrapy state需要以下模块。在
- Python 6.3+
变更日志
作业运行之间的混乱状态。从设置中重新创建蜘蛛的状态。 见https://medium.com/@alex_ber/scrapy-state-between-job-runs-b880c7b34a9d
这个项目的所有显著变化都将记录在这个文件中。在
{a4}
[未释放]
[0.0.1]-2020年7月2日
添加
SpiderSettingsState
类在alexber.spiderstate.state
模块中。 灵感来自scrapy.extensions.spiderstate
- 看到了吗[https://medium.com/@alex\u ber/scrapy-item-with-general-fields-7552bd6e4622]用于说明。在
- 项目
标签: