mirror of https://github.com/searxng/searxng.git
[enh] displaying all search engines in results
This commit is contained in:
parent
70cbc09e93
commit
39a223091e
|
@ -100,6 +100,7 @@ def search(query, request, selected_engines):
|
||||||
if len(res.get('content', '')) > len(duplicated.get('content', '')):
|
if len(res.get('content', '')) > len(duplicated.get('content', '')):
|
||||||
duplicated['content'] = res['content']
|
duplicated['content'] = res['content']
|
||||||
duplicated['score'] += score
|
duplicated['score'] += score
|
||||||
|
duplicated['engine'] += ', '+res['engine']
|
||||||
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':
|
||||||
|
|
Loading…
Reference in New Issue