Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spider not found #8

Open
smyja opened this issue Sep 21, 2021 · 1 comment
Open

Spider not found #8

smyja opened this issue Sep 21, 2021 · 1 comment

Comments

@smyja
Copy link

smyja commented Sep 21, 2021

I keep getting key error spider not found:CNN when I run scrapy crawl cnn or for any news website. What directory am I supposed to run that in? The README is very vague.

@pmyteh
Copy link
Owner

pmyteh commented Sep 22, 2021

If you're getting 'Spider not found' then scrapy itself is running. Have you installed scrapy in a venv, as recommended by their installation docs? Can you run any of the other spiders? The 'base' directory to look for spiders is found in your settings.py file, which should draw from RISJbot.spiders by default. And everything is case sensitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants