diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-11-14 13:24:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-14 13:24:31 +0100 |
| commit | 102c08838b4f4afe044d8eafcc0de635f1401d35 (patch) | |
| tree | edbb5fb3132f161da8673c90ee8bf715c3a1e204 /searx/engines | |
| parent | 46b454277f70cb504a1276286e07048b8a5651bf (diff) | |
| parent | 58d72f26925d56e22330c54be03c3dcbee0c4135 (diff) | |
Merge pull request #2289 from dalf/pylint
[mod] pylint: add extension-pkg-whitelist=lxml.etree
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/qwant.py | 2 | ||||
| -rw-r--r-- | searx/engines/xpath.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/qwant.py b/searx/engines/qwant.py index 98460604c..c909ce11b 100644 --- a/searx/engines/qwant.py +++ b/searx/engines/qwant.py @@ -17,7 +17,7 @@ from searx.utils import html_to_text, match_language # engine dependent config -categories = None +categories = [] paging = True language_support = True supported_languages_url = 'https://qwant.com/region' diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index 81c2747fb..a569d9160 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -7,6 +7,7 @@ url_xpath = None content_xpath = None title_xpath = None thumbnail_xpath = False +categories = [] paging = False suggestion_xpath = '' results_xpath = '' |