Error while running

After creating the spider,while running in cmd promt i am getting this error: ‘Spider not found: quotes_spider’

Hey @yashiagar99, make sure your code has class name ‘quotes_spider’ mentioned in the code. If still unable to find the mistake, copy paste your code in cb.lk/ide and share the link here.

After running the spider the quotes file are not being created in the directory

Hey @yashiagar99, in your code

class QuotesSpider(scrapy.Spider):
    name = "quotes" 

while scrapping we need to mention the class name and not the file name, so you should try running scrapy crawl quotes

Hope this will resolved your doubt. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.