mirror of https://github.com/searxng/searxng.git
[fix] correct scheme @ parsed url
This commit is contained in:
parent
aca566eadf
commit
cd268f90e2
|
@ -162,6 +162,7 @@ def search(query, request, selected_categories):
|
||||||
continue
|
continue
|
||||||
elif res['parsed_url'].scheme == 'https':
|
elif res['parsed_url'].scheme == 'https':
|
||||||
duplicated['url'] = res['parsed_url'].geturl()
|
duplicated['url'] = res['parsed_url'].geturl()
|
||||||
|
duplicated['parsed_url'] = res['parsed_url']
|
||||||
else:
|
else:
|
||||||
res['score'] = score
|
res['score'] = score
|
||||||
results.append(res)
|
results.append(res)
|
||||||
|
|
Loading…
Reference in New Issue