Scrapy, a fast high-level web crawling & scraping framework for Python.
Changed sel. to response. for clarity
Lele7082454f2af7
diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rstindex 3c5c170a3..3a0695568 100644--- a/docs/topics/selectors.rst+++ b/docs/topics/selectors.rst@@ -151,7 +151,7 @@ It returns ``None`` if no element was found:A default return value can be provided as an argument, to be used instead of ``None``:- >>> sel.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')+ >>> response.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')'not-found'Notice that CSS selectors can select text or attribute nodes using CSS3