Scrapy, a fast high-level web crawling & scraping framework for Python.
fix typos and wording on selector's introduction
Daniel Graña1abb1af0c609
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rstindex 5068cd8c1..c147d0497 100644--- a/docs/intro/tutorial.rst+++ b/docs/intro/tutorial.rst@@ -208,7 +208,7 @@ XPath expressions are indeed much more powerful. To learn more about XPath werecommend `this XPath tutorial <http://www.w3schools.com/XPath/default.asp>`_.For working with XPaths, Scrapy provides a :class:`~scrapy.selector.Selector`-class, it must be instantiated with a :class:`~scrapy.http.HtmlResponse` or+class, it is instantiated with a :class:`~scrapy.http.HtmlResponse` or:class:`~scrapy.http.XmlResponse` object as first argument.You can see selectors as objects that represent nodes in the document@@ -271,8 +271,9 @@ After the shell loads, you will have the response fetched in a local``response`` variable, so if you type ``response.body`` you will see the bodyof the response, or you can type ``response.headers`` to see its headers.-The shell also pre-instantiate a selector named ``ss``, it automatically choice-the best parsing rules (XML vs HTML) based on response's type.+The shell also pre-instantiate a selector for this response in variable ``ss``,+the selector automatically chooses the best parsing rules (XML vs HTML) based+on response's type.So let's try it::