我正在为一个项目使用scrapy。我运行了以下命令来部署项目:
$scrapy deploy -l
然后我得到了以下o/p:
刮板 http://localhost:6800/
$cat scrapy.cfg
[settings]
default = scrapBib.settings
[deploy:scrapysite]
url = http://localhost:6800/
project = scrapBib
$scrapy deploy scrapysite -p scrapBib
'Building egg of scrapBib-1346242513
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
zip_safe flag not set; analyzing archive contents...
Deploying scrapBib-1346242513 to `http://localhost:6800/addversion.json`
2012-08-29 17:45:14+0530 [HTTPChannel,22,127.0.0.1] 127.0.0.1 - - [29/Aug/2012:12:15:13
+0000] "POST /addversion.json HTTP/1.1" 200 79 "-" "Python-urllib/2.7"
Server response (200):
{"status": "ok", "project": "scrapBib", "version": "1346242513", "spiders": 0}
如您所见,虽然我在 project/spiders/ 文件夹中编写了 3 个蜘蛛,但将蜘蛛设为 0 。结果,我无法使用 curl 请求开始爬网。请帮忙