diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-01-16 19:05:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-16 19:05:17 +0100 |
| commit | 1d13ad8452e20fb69b77caf6bb9358f82e3934ba (patch) | |
| tree | 2085c05e8ba319411a4b729c589e660d973a5c7c /searx/engines/arxiv.py | |
| parent | 5a511f0d620038b8e94c581bcfd3c987082b9414 (diff) | |
| parent | a4dcfa025c690dc4c824b2261242748a331a97e8 (diff) | |
Merge pull request #2460 from dalf/engine-about
[enh] engines: add about variable
Diffstat (limited to 'searx/engines/arxiv.py')
| -rw-r--r-- | searx/engines/arxiv.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/searx/engines/arxiv.py b/searx/engines/arxiv.py index 1190de363..09ea07ea5 100644 --- a/searx/engines/arxiv.py +++ b/searx/engines/arxiv.py @@ -1,20 +1,21 @@ -#!/usr/bin/env python - +# SPDX-License-Identifier: AGPL-3.0-or-later """ ArXiV (Scientific preprints) - @website https://arxiv.org - @provide-api yes (export.arxiv.org/api/query) - @using-api yes - @results XML-RSS - @stable yes - @parse url, title, publishedDate, content - More info on api: https://arxiv.org/help/api/user-manual """ from lxml import html from datetime import datetime from searx.utils import eval_xpath_list, eval_xpath_getindex +# about +about = { + "website": 'https://arxiv.org', + "wikidata_id": 'Q118398', + "official_api_documentation": 'https://arxiv.org/help/api', + "use_official_api": True, + "require_api_key": False, + "results": 'XML-RSS', +} categories = ['science'] paging = True |