mirror of https://github.com/searxng/searxng.git
remove the print statement
This commit is contained in:
parent
3f72a79088
commit
bc28091557
|
@ -157,7 +157,6 @@ def yandex(query, _lang):
|
||||||
url = "https://suggest.yandex.com/suggest-ff.cgi?{0}"
|
url = "https://suggest.yandex.com/suggest-ff.cgi?{0}"
|
||||||
|
|
||||||
resp = loads(get(url.format(urlencode(dict(part=query)))).text)
|
resp = loads(get(url.format(urlencode(dict(part=query)))).text)
|
||||||
print(resp)
|
|
||||||
if len(resp) > 1:
|
if len(resp) > 1:
|
||||||
return resp[1]
|
return resp[1]
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in New Issue