diff options
author | Alexandre Flament <alex@al-f.net> | 2020-10-02 18:13:56 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-10-02 18:13:56 +0200 |
commit | 2006eb468087c045c46c7d9e1d771e8ab2dfed7b (patch) | |
tree | 837ec4f49ee9fbc3637f3e24c015bc2542d8983e /searx/engines/wikidata.py | |
parent | ecb9f28869f081dc75182053c727523ed7e20d12 (diff) | |
download | searxng-2006eb468087c045c46c7d9e1d771e8ab2dfed7b.tar.gz searxng-2006eb468087c045c46c7d9e1d771e8ab2dfed7b.zip |
[mod] move extract_text, extract_url to searx.utils
Diffstat (limited to 'searx/engines/wikidata.py')
-rw-r--r-- | searx/engines/wikidata.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.py index ffa3724fd..c557f4e59 100644 --- a/searx/engines/wikidata.py +++ b/searx/engines/wikidata.py @@ -13,9 +13,8 @@ from searx import logger from searx.poolrequests import get -from searx.engines.xpath import extract_text from searx.engines.wikipedia import _fetch_supported_languages, supported_languages_url -from searx.utils import match_language, eval_xpath +from searx.utils import extract_text, match_language, eval_xpath from urllib.parse import urlencode from json import loads |