diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-08-13 00:45:15 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-08-13 01:13:41 +0200 |
commit | 104cdb7d03771d4eca5b5126532ccf47642bb9de (patch) | |
tree | 754ceae81eb0bb8b1ab19f6f0ed50e1726588570 /searx/engines/wolframalpha_noapi.py | |
parent | eb57481450e950cb057f97858d29dd3b01960120 (diff) | |
download | searxng-104cdb7d03771d4eca5b5126532ccf47642bb9de.tar.gz searxng-104cdb7d03771d4eca5b5126532ccf47642bb9de.zip |
[fix] remove unused imports ++ int token timestamp by default
Diffstat (limited to 'searx/engines/wolframalpha_noapi.py')
-rw-r--r-- | searx/engines/wolframalpha_noapi.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py index 59629b833..3a8180f04 100644 --- a/searx/engines/wolframalpha_noapi.py +++ b/searx/engines/wolframalpha_noapi.py @@ -8,11 +8,9 @@ # @stable no # @parse url, infobox -from cgi import escape from json import loads from time import time from urllib import urlencode -from lxml.etree import XML from searx.poolrequests import get as http_get @@ -36,7 +34,7 @@ search_url = url + 'input/json.jsp'\ referer_url = url + 'input/?{query}' token = {'value': '', - 'last_updated': None} + 'last_updated': 0} # pods to display as image in infobox # this pods do return a plaintext, but they look better and are more useful as images |