mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 09:23:57 +00:00
Merge pull request #2345 from gustavodeandrade/master
[MRG+1] Fix documentation about HTML entities decoding with selector extraction
This commit is contained in:
commit
d205206aaa
@ -660,6 +660,10 @@ Built-in Selectors reference
|
|||||||
``regex`` can be either a compiled regular expression or a string which
|
``regex`` can be either a compiled regular expression or a string which
|
||||||
will be compiled to a regular expression using ``re.compile(regex)``
|
will be compiled to a regular expression using ``re.compile(regex)``
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Note that ``re()`` and ``re_first()`` both decode HTML entities (except ``<`` and ``&``).
|
||||||
|
|
||||||
.. method:: register_namespace(prefix, uri)
|
.. method:: register_namespace(prefix, uri)
|
||||||
|
|
||||||
Register the given namespace to be used in this :class:`Selector`.
|
Register the given namespace to be used in this :class:`Selector`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user