mirror of https://github.com/scrapy/scrapy.git
mention that spiders need to subclass scrapy.Spider
This commit is contained in:
parent
b2a5cddbb0
commit
21de617c77
|
|
@ -57,9 +57,10 @@ Our first Spider
|
|||
================
|
||||
|
||||
Spiders are classes that you define and that Scrapy uses to scrape information
|
||||
from a website (or group of websites). They define the initial requests to make,
|
||||
how to follow links in the pages, and how to parse the downloaded page content
|
||||
to extract data.
|
||||
from a website (or group of websites). They must subclass
|
||||
:class:`scrapy.Spider` and define the initial requests to make, how to follow
|
||||
links in the pages, and how to parse the downloaded page content to extract
|
||||
data.
|
||||
|
||||
This is the code for our first Spider. Save it in a file named
|
||||
``quotes_spider.py`` under the ``tutorial/spiders`` directory in your project::
|
||||
|
|
|
|||
Loading…
Reference in New Issue