Fix docstring for extract_links specifying duplicates case

This commit is contained in:
spav 2023-01-11 19:32:33 +01:00
parent a70cbfe838
commit b0ec38876d
1 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,8 @@ class LxmlLinkExtractor:
Only links that match the settings passed to the ``__init__`` method of
the link extractor are returned.
Duplicate links are omitted.
Duplicate links are omitted if the ``unique`` parameter is set to ``True``,
otherwise they are returned.
"""
base_url = get_base_url(response)
if self.restrict_xpaths: