Scrapy, a fast high-level web crawling & scraping framework for Python.
Document that process_value runs before allow and deny (#7940)
Adrianb4279e243bbd
diff --git a/scrapy/linkextractors/lxmlhtml.py b/scrapy/linkextractors/lxmlhtml.pyindex 3fb741d7a..46ac39a28 100644--- a/scrapy/linkextractors/lxmlhtml.py+++ b/scrapy/linkextractors/lxmlhtml.py@@ -282,6 +282,12 @@ class LxmlLinkExtractor:if m:return m.group(1)+ ``process_value`` is called before the filtering parameters, such as+ ``allow`` and ``deny``, which match the value that it returns. To drop+ links based on their final URL, use the ``process_links`` parameter of+ :class:`~scrapy.spiders.Rule`, which only receives links that those+ parameters kept.+:type process_value: collections.abc.Callable:param strip: whether to strip whitespaces from extracted attributes.