summaryrefslogtreecommitdiff
path: root/searx/engines/elasticsearch.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-02 11:19:53 +0100
committerAlexandre Flament <alex@al-f.net>2020-11-14 14:11:02 +0100
commit3038052c79ed16d4e32be9680b426b7a765f4f01 (patch)
tree6550ad32ecd9e2f47b5562a5561b39f61c7b8807 /searx/engines/elasticsearch.py
parent6489a560ea9cbd8087f9872a8494f6d8ec76bf75 (diff)
[mod] remove unused import
use from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA so it is possible to easily remove all unused import using autoflake: autoflake --in-place --recursive --remove-all-unused-imports searx tests
Diffstat (limited to 'searx/engines/elasticsearch.py')
-rw-r--r--searx/engines/elasticsearch.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/engines/elasticsearch.py b/searx/engines/elasticsearch.py
index bad65fb2..99e93d87 100644
--- a/searx/engines/elasticsearch.py
+++ b/searx/engines/elasticsearch.py
@@ -1,8 +1,5 @@
from json import loads, dumps
-from lxml import html
-from urllib.parse import quote, urljoin
from requests.auth import HTTPBasicAuth
-from searx.utils import extract_text, get_torrent_size
base_url = 'http://localhost:9200'