Commit 852bbef 1 parent 27c9919 commit 852bbef Copy full SHA for 852bbef
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,14 @@ pseudo-elements::
143
143
To extract all text of one or more element and all their child elements,
144
144
formatted as plain text taking into account HTML tags (e.g. ``<br/> `` is
145
145
translated as a line break), set ``text=True `` in your call to
146
- :meth: `~Selector.get ` or :meth: `~Selector.getall ` instead of including
146
+ :meth: `~parsel.selector.Selector.get ` or
147
+ :meth: `~parsel.selector.Selector.getall ` instead of including
147
148
``::text `` (CSS) or ``/text() `` (XPath) in your query::
148
149
149
150
>>> selector.css('#images').get(text=True)
150
151
'Name: My image 1\nName: My image 2\nName: My image 3\nName: My image 4\nName: My image 5'
151
152
152
- See :meth: `Selector.get ` for additional parameters that you can use to change
153
+ See :meth: `Selector.get ` for additional parameters that you can use to change
153
154
how the extracted plain text is formatted.
154
155
155
156
As you can see, ``.xpath() `` and ``.css() `` methods return a
You can’t perform that action at this time.
0 commit comments