diff options
author | Alexandre Flament <alex@al-f.net> | 2020-10-26 19:19:18 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-10-28 08:09:25 +0100 |
commit | ed6696e6bf13d2a1f7536fe05d043d81f57f4081 (patch) | |
tree | 4046768ddacb8f5a0309a22d37a0aec488477e72 /searx/data/__init__.py | |
parent | d3d50eff665f03c16adcb26a774b25b4fd5ade08 (diff) | |
download | searxng-ed6696e6bf13d2a1f7536fe05d043d81f57f4081.tar.gz searxng-ed6696e6bf13d2a1f7536fe05d043d81f57f4081.zip |
[mod] add external_urls.json and wikidata_units.json
Diffstat (limited to 'searx/data/__init__.py')
-rw-r--r-- | searx/data/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/searx/data/__init__.py b/searx/data/__init__.py index 1116e5d47..55a254b13 100644 --- a/searx/data/__init__.py +++ b/searx/data/__init__.py @@ -2,7 +2,8 @@ import json from pathlib import Path -__init__ = ['ENGINES_LANGUGAGES', 'CURRENCIES', 'USER_AGENTS', 'bangs_loader', 'ahmia_blacklist_loader'] +__init__ = ['ENGINES_LANGUGAGES', 'CURRENCIES', 'USER_AGENTS', 'EXTERNAL_URLS', 'WIKIDATA_UNITS', + 'bangs_loader', 'ahmia_blacklist_loader'] data_dir = Path(__file__).parent @@ -24,3 +25,5 @@ def ahmia_blacklist_loader(): ENGINES_LANGUAGES = load('engines_languages.json') CURRENCIES = load('currencies.json') USER_AGENTS = load('useragents.json') +EXTERNAL_URLS = load('external_urls.json') +WIKIDATA_UNITS = load('wikidata_units.json') |