forked from Icycoide/searxng
[enh] reduce the number of http outgoing connections.
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
This commit is contained in:
parent
bbd83f5a51
commit
78edc16e66
10 changed files with 25 additions and 10 deletions
|
@ -60,6 +60,9 @@ def response(resp):
|
|||
publishedDate = datetime.fromtimestamp(res['created_time'], None)
|
||||
embedded = embedded_url.format(videoid=res['id'])
|
||||
|
||||
# http to https
|
||||
thumbnail = thumbnail.replace("http://", "https://")
|
||||
|
||||
results.append({'template': 'videos.html',
|
||||
'url': url,
|
||||
'title': title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue