diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2021-12-07 16:28:44 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2021-12-07 16:28:44 +0100 |
commit | 32d4b6a638456caf50a5f99f2a0b57d60d418c5f (patch) | |
tree | 3ef4ebddb9d6bb6bbb46ac10663b1a714063901e /searx/engines/qwant.py | |
parent | 7a1db4de351875bebb4a8e7ffbe6710ad5b518c5 (diff) |
New upstream version 1.0.0+dfsg1
Diffstat (limited to 'searx/engines/qwant.py')
-rw-r--r-- | searx/engines/qwant.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/searx/engines/qwant.py b/searx/engines/qwant.py index b785719..13dcf12 100644 --- a/searx/engines/qwant.py +++ b/searx/engines/qwant.py @@ -1,13 +1,6 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ Qwant (Web, Images, News, Social) - - @website https://qwant.com/ - @provide-api not officially (https://api.qwant.com/api/search/) - - @using-api yes - @results JSON - @stable yes - @parse url, title, content """ from datetime import datetime @@ -17,11 +10,19 @@ from searx.utils import html_to_text, match_language from searx.exceptions import SearxEngineAPIException, SearxEngineCaptchaException from searx.raise_for_httperror import raise_for_httperror +# about +about = { + "website": 'https://www.qwant.com/', + "wikidata_id": 'Q14657870', + "official_api_documentation": None, + "use_official_api": True, + "require_api_key": False, + "results": 'JSON', +} # engine dependent config categories = [] paging = True -language_support = True supported_languages_url = 'https://qwant.com/region' category_to_keyword = {'general': 'web', |