1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 03: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:
Paul Tremberth 2017-02-08 13:21:15 +01:00 committed by GitHub
commit d205206aaa

View File

@ -660,6 +660,10 @@ Built-in Selectors reference
``regex`` can be either a compiled regular expression or a string which
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)
Register the given namespace to be used in this :class:`Selector`.