From 41fbcbde4879c65efede0ebaf9bda09a3d010c2d Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Wed, 7 Jan 2009 12:56:40 +0000 Subject: [PATCH] minor corrections to overview doc --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40672 --- scrapy/trunk/docs/intro/overview.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scrapy/trunk/docs/intro/overview.rst b/scrapy/trunk/docs/intro/overview.rst index 7cfae5112..e8479b403 100644 --- a/scrapy/trunk/docs/intro/overview.rst +++ b/scrapy/trunk/docs/intro/overview.rst @@ -52,12 +52,12 @@ Write a Spider to extract the Items =================================== Now we'll write a Spider which defines the start URL -(http://www.mininova.org/today), the rules for following links and extracting -data from pages. +(http://www.mininova.org/today), the rules for following links and the rules +for extracting the data from pages. If we take a look at that page content we'll see that all torrent URLs are like -http://www.mininova.org/tor/NUMBER where NUMBER is a integer. We'll use that to -construct the regular expression for links to follow: `/tor/\d+`. +http://www.mininova.org/tor/NUMBER where ``NUMBER`` is an integer. We'll use +that to construct the regular expression for the links to follow: ``/tor/\d+``. For extracting data we'll use `XPath`_ to select the part of the document where the data is to be extracted. Let's take one of those torrent pages: