summaryrefslogtreecommitdiff
path: root/searx/engines/yggtorrent.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-10-02 18:13:56 +0200
committerAlexandre Flament <alex@al-f.net>2020-10-02 18:13:56 +0200
commit2006eb468087c045c46c7d9e1d771e8ab2dfed7b (patch)
tree837ec4f49ee9fbc3637f3e24c015bc2542d8983e /searx/engines/yggtorrent.py
parentecb9f28869f081dc75182053c727523ed7e20d12 (diff)
downloadsearxng-2006eb468087c045c46c7d9e1d771e8ab2dfed7b.tar.gz
searxng-2006eb468087c045c46c7d9e1d771e8ab2dfed7b.zip
[mod] move extract_text, extract_url to searx.utils
Diffstat (limited to 'searx/engines/yggtorrent.py')
-rw-r--r--searx/engines/yggtorrent.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/yggtorrent.py b/searx/engines/yggtorrent.py
index 37bf3b1d9..ec84d2c6b 100644
--- a/searx/engines/yggtorrent.py
+++ b/searx/engines/yggtorrent.py
@@ -12,8 +12,7 @@ from lxml import html
from operator import itemgetter
from datetime import datetime
from urllib.parse import quote
-from searx.engines.xpath import extract_text
-from searx.utils import get_torrent_size
+from searx.utils import extract_text, get_torrent_size
from searx.poolrequests import get as http_get
# engine dependent config