summaryrefslogtreecommitdiff
path: root/searx/engines/twitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/twitter.py')
-rw-r--r--searx/engines/twitter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/twitter.py b/searx/engines/twitter.py
index 6cca05f70..038cef47f 100644
--- a/searx/engines/twitter.py
+++ b/searx/engines/twitter.py
@@ -12,11 +12,10 @@
@todo publishedDate
"""
-from urlparse import urljoin
-from urllib import urlencode
from lxml import html
from datetime import datetime
from searx.engines.xpath import extract_text
+from searx.url_utils import urlencode, urljoin
# engine dependent config
categories = ['social media']