mirror of
https://github.com/searxng/searxng.git
synced 2024-11-29 22:21:02 +00:00
[fix] using https links
This commit is contained in:
parent
e2c1c10657
commit
22c94ec149
1 changed files with 1 additions and 2 deletions
|
@ -153,8 +153,7 @@ def search(query, request, selected_categories):
|
||||||
if duplicated['parsed_url'].scheme == 'https':
|
if duplicated['parsed_url'].scheme == 'https':
|
||||||
continue
|
continue
|
||||||
elif res['parsed_url'].scheme == 'https':
|
elif res['parsed_url'].scheme == 'https':
|
||||||
duplicated['parsed_url'].scheme == 'https'
|
duplicated['url'] = res['parsed_url'].geturl()
|
||||||
duplicated['url'] = duplicated['parsed_url'].geturl()
|
|
||||||
else:
|
else:
|
||||||
res['score'] = score
|
res['score'] = score
|
||||||
results.append(res)
|
results.append(res)
|
||||||
|
|
Loading…
Reference in a new issue