summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-14 13:24:31 +0100
committerGitHub <noreply@github.com>2020-11-14 13:24:31 +0100
commit102c08838b4f4afe044d8eafcc0de635f1401d35 (patch)
treeedbb5fb3132f161da8673c90ee8bf715c3a1e204 /searx/engines
parent46b454277f70cb504a1276286e07048b8a5651bf (diff)
parent58d72f26925d56e22330c54be03c3dcbee0c4135 (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.py2
-rw-r--r--searx/engines/xpath.py1
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 = ''