Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Tutorial: scrapy shell example should say "text" not "title" (#3807)

Artem Kuchumovc81e15ed6ede
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst
index 8bd2d27dd..a190ce407 100644
--- a/docs/intro/tutorial.rst
+++ b/docs/intro/tutorial.rst
@@ -379,11 +379,11 @@ variable, so that we can run our CSS selectors directly on a particular quote::
>>> quote = response.css("div.quote")[0]
-Now, let's extract ``title``, ``author`` and the ``tags`` from that quote
+Now, let's extract ``text``, ``author`` and the ``tags`` from that quote
using the ``quote`` object we just created::
- >>> title = quote.css("span.text::text").get()
- >>> title
+ >>> text = quote.css("span.text::text").get()
+ >>> text
'“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”'
>>> author = quote.css("small.author::text").get()
>>> author