I had several spiders in my project folder and I want to run all the spiders at once, so I decided to start them using the scrapyd service. I started to do it by seeing here
First of all, I'm in the current project folder
I opened the scrapy.cfg file and uncommented the url line after
[expand]
I had a scrapy server command that works fine, and scrapyd works on the server
I tried this command scrapy deploy -l
Result: default http://localhost:6800/
- when i tried this
scrapy deploy -L scrapyd i got the following output
Result:
Usage ===== scrapy deploy [options] [ [target] | -l | -L <target> ] deploy: error: Unknown target: scrapyd
when i tried to deploy the project with this command scrapy deploy scrapyd -p default got the following error
Usage ===== scrapy deploy [options] [ [target] | -l | -L <target> ] deploy: error: Unknown target: scrapyd
I really cannot identify serum scraprapid demonstrating the above errors, may lead me to the correct way to deploy the project to scrapyd
Thanks in advance..........
Edited Code :
After looking at Peter Kirby's answer, I named the target in scrapy.cfg and tried the following command in the project folder,
Team
scrapy deploy ebsite -p ebsite
then I got the error below
Building egg of ebsite-1341808241 'build/lib' 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 ebsite-1341808241 to http://localhost:6800/addversion.json Deploy failed: <urlopen error [Errno 111] Connection refused>
How to solve this .....
shiva krishna
source share