Update tutorial.rst

Lost an hour to trying to figure this out, even chatGPT was no help.   found it buried in stackoverflow post.
This commit is contained in:
rcktmonk 2023-03-24 14:59:27 -05:00 committed by GitHub
parent c34ca4aef5
commit 535fdb408b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -132,11 +132,15 @@ and defines some attributes and methods:
How to run our spider
---------------------
To put our spider to work, go to the project's top level directory and run::
To put our spider to work, go to the project's top level directory (the one with the file 'scrapy.cfg') already in it and run:
scrapy genspider quotes quotes.toscrape.com
And then run
scrapy crawl quotes
This command runs the spider with name ``quotes`` that we've just added, that
This last command runs the spider with name ``quotes`` that we've just added, that
will send some requests for the ``quotes.toscrape.com`` domain. You will get an output
similar to this::