2

I have been searching for documentation on the Scrapyd Service but it is very slim. I was wondering if anyone has any idea how to set up multiple Scrapyd servers that point to the same schedule queue?

4

2 回答 2

1

我不知道有任何“保存计划队列”,但是通过打开几个屏幕并运行来运行多个scrapyd 很容易scrapy server

您可以通过在 PROJECT_DIRECTORY/scrapyd.conf 中设置/更改以下选项来调整 scrapyd 的端口号:

[scrapyd]
http_port = 6969

通过http://doc.scrapy.org/en/latest/topics/scrapyd.html#starting-scrapyd

于 2012-11-19T14:35:16.423 回答
0

使用相同的 sqlite 数据库怎么样?dbs_dir 设置在scrapyd.script._get_config().

于 2013-03-20T06:18:04.697 回答