summaryrefslogtreecommitdiff
path: root/searx/engines/google_news.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-11-30 18:43:03 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-05-15 12:02:30 +0200
commit52e615dede8538c36f569d2cf07835427a9a0db6 (patch)
treeac65990c72156def2d49e81d981f0b3beda4fd2e /searx/engines/google_news.py
parent46a2c63f8e1c3819cceff2d61fe9106051e8ecee (diff)
[enh] py3 compatibility
Diffstat (limited to 'searx/engines/google_news.py')
-rw-r--r--searx/engines/google_news.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py
index 6b79ff5c8..7344b5289 100644
--- a/searx/engines/google_news.py
+++ b/searx/engines/google_news.py
@@ -11,9 +11,8 @@
"""
from lxml import html
-from urllib import urlencode
-from json import loads
from searx.engines.google import _fetch_supported_languages, supported_languages_url
+from searx.url_utils import urlencode
# search-url
categories = ['news']