作为守护进程运行的scrapyd找不到spider或项目
spider的名称是作为守护进程运行的scrapyd找不到spider或项目,scrapy,scrapyd,Scrapy,Scrapyd,spider的名称是quotes14,它在命令行中运行良好 i、 e如果我从目录/var/www/html/sprojects/tutorial/中运行scrapy crawl quotes14,它在命令行中运行良好 我以守护进程的身份运行scrapyd 我的scrapy spider文件出现在这里:/var/www/html/sprojects/tutorial/tutorial/spider 我在上面的目录下有许多spider和其他文件,项目是/var/www/html/sprojects/
quotes14
,它在命令行中运行良好
i、 e如果我从目录/var/www/html/sprojects/tutorial/
中运行scrapy crawl quotes14
,它在命令行中运行良好
我以守护进程的身份运行scrapyd
我的scrapy spider文件出现在这里:/var/www/html/sprojects/tutorial/tutorial/spider
我在上面的目录下有许多spider和其他文件,项目是/var/www/html/sprojects/tutorial/tutorial/
我试过了
curl http://localhost:6800/schedule.json -d project=tutorial -d spider=spiders/quotes14
curl http://localhost:6800/schedule.json -d project=/var/www/html/sprojects/tutorial/tutorial/tutorial -d spider=quotes14
curl http://localhost:6800/schedule.json -d project=/var/www/html/sprojects/tutorial/tutorial/ -d spider=quotes14
curl http://localhost:6800/schedule.json -d project=/var/www/html/sprojects/tutorial/tutorial/tutorial -d spider=spiders/quotes14
它要么说找不到项目,要么说找不到蜘蛛
请提供帮助为了使用调度端点,您必须首先将spider部署到守护进程。系统将告诉您如何执行此操作 部署您的项目需要对其进行鸡蛋化,并通过端点将鸡蛋上传到Scrapyd。您可以手动执行此操作,但最简单的方法是使用scrapyd deploy工具,该工具将为您完成所有操作
为了使用调度端点,您必须首先将spider部署到守护进程。系统将告诉您如何执行此操作 部署您的项目需要对其进行鸡蛋化,并通过端点将鸡蛋上传到Scrapyd。您可以手动执行此操作,但最简单的方法是使用scrapyd deploy工具,该工具将为您完成所有操作
它在ubuntu 14.04上它在ubuntu 14.04上