Open ybninputr opened 5 years ago
Hi @ybninputr,
I am sorry if the repo does not work as expected. I wrote a deep guide of how to run everything is this issue : https://github.com/adriancast/Scrapyd-Django-Template/issues/1
Could you check it? Maybe you missed some steps. If it is still not working I would try to use another port to run the process.
Cheers
i am able to run scrapy on server 127.0.0.1:6800 however when i tried to schedule the spider using
curl http://localhost:6800/schedule.json -d project=default -d spider=toscrape-css
i get this error instead
curl: (7) Failed to connect to localhost port 6800: Connection refused
i tried to look around but i still cant seems to figure this out and i feel like this is something dumb or i might just be missing some steps. i am not familiar with either python nor scrapy since this is the first time i tried them so all help is much apreciated
You may try to change localhost
to the name of your scrapyd container here: scrapyd = ScrapydAPI('http://localhost:6800') to scrapyd = ScrapydAPI('http://<scrapyd_containe_rname>:6800')
i am able to run scrapy on server 127.0.0.1:6800 however when i tried to schedule the spider using
curl http://localhost:6800/schedule.json -d project=default -d spider=toscrape-css
i get this error instead
curl: (7) Failed to connect to localhost port 6800: Connection refused
i tried to look around but i still cant seems to figure this out and i feel like this is something dumb or i might just be missing some steps. i am not familiar with either python nor scrapy since this is the first time i tried them so all help is much apreciated