Not able to get the HTML file agter running Spider

When I run my first spider …Nothing happens in the directory…HTML file not created after crawling the spider

Hi,
Please refer to the video tutorials for the exact output. These tuts will get you the desired output.
Thanks :slight_smile:

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.

When you run ‘scrapy crawl’ on cmd make sure you type the name you’ve given your spider inside your quotes_spider.py file instead of typing the python file name. For Example:

My .py file is saved as quotes_spider.py

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

So on cmd type :
‘scrapy crawl quotes’ (this is the name you’ve given your spider inside your QuotesSpider class)
Instead of ‘scrapy crawl quotes_spider’ (which is the .py file name)