We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a046ce8 commit 6d193e4Copy full SHA for 6d193e4
docs/topics/selectors.rst
@@ -151,7 +151,7 @@ It returns ``None`` if no element was found:
151
152
A default return value can be provided as an argument, to be used instead of ``None``:
153
154
- >>> sel.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')
+ >>> response.xpath('//div[@id="not-exists"]/text()').extract_first(default='not-found')
155
'not-found'
156
157
Notice that CSS selectors can select text or attribute nodes using CSS3
0 commit comments