Using scrapy to extract webpages

Im getting an error by using scrapy crawl redditbot as saying invalid syntax, i used the command in shell as well existing the shell still same eroor, can anyone let me know ?


can you share which xpath you are trying to access from scrapy shell?

I first used -scrapy genspider redditbot
it worked fine and then as instructed I created py file redditbot after that
scrapy crawl redditbot which gives error crawl command not find when I go to shell it says invalid syntax