From 96f05efb7d77450d0f6761645078ca6483c0322b Mon Sep 17 00:00:00 2001 From: Edwin O Marshall Date: Thu, 6 Mar 2014 17:54:16 -0500 Subject: [PATCH] - changing indentation so contexts are recognized --- sep/sep-006.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sep/sep-006.rst b/sep/sep-006.rst index 9cfddf28e..33079daeb 100644 --- a/sep/sep-006.rst +++ b/sep/sep-006.rst @@ -22,23 +22,23 @@ XPath Selectors documentation] says (bolding by me): "When you’re scraping web pages, the most common task you need to perform is to **extract** data from the HTML source." - .. +.. "Scrapy comes with its own mechanism for **extracting** data. They’re called ``XPath`` selectors (or just “selectors”, for short) because they “select” certain parts of the HTML document specified by ``XPath`` expressions." - .. +.. "To actually **extract** the textual data you must call the selector ``extract()`` method, as follows" - .. +.. "Selectors also have a ``re()`` method for **extracting** data using regular expressions." - .. +.. "For example, suppose you want to **extract** all

elements inside

elements. First you get would get all
elements"