From 21de617c77ca49d7ab09f8721676c449d793cdb7 Mon Sep 17 00:00:00 2001 From: Elias Dorneles Date: Fri, 16 Sep 2016 15:55:14 -0300 Subject: [PATCH] mention that spiders need to subclass scrapy.Spider --- docs/intro/tutorial.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst index f3b933d28..62304de2c 100644 --- a/docs/intro/tutorial.rst +++ b/docs/intro/tutorial.rst @@ -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::