Using scrapy to extract webpages

python-scrapy

#1

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 ?


#2

Hi,

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


#3

I first used -scrapy genspider redditbot www.reddit.com/r/gameofthrones/
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