|
@@ -8,11 +8,9 @@
|
8
|
8
|
# @stable no
|
9
|
9
|
# @parse url, infobox
|
10
|
10
|
|
11
|
|
-from cgi import escape
|
12
|
11
|
from json import loads
|
13
|
12
|
from time import time
|
14
|
13
|
from urllib import urlencode
|
15
|
|
-from lxml.etree import XML
|
16
|
14
|
|
17
|
15
|
from searx.poolrequests import get as http_get
|
18
|
16
|
|
|
@@ -36,7 +34,7 @@ search_url = url + 'input/json.jsp'\
|
36
|
34
|
referer_url = url + 'input/?{query}'
|
37
|
35
|
|
38
|
36
|
token = {'value': '',
|
39
|
|
- 'last_updated': None}
|
|
37
|
+ 'last_updated': 0}
|
40
|
38
|
|
41
|
39
|
# pods to display as image in infobox
|
42
|
40
|
# this pods do return a plaintext, but they look better and are more useful as images
|