[enh] displaying all search engines in results

This commit is contained in:
asciimoo 2013-10-19 18:28:48 +02:00
parent 70cbc09e93
commit 39a223091e

View File

@ -100,6 +100,7 @@ def search(query, request, selected_engines):
if len(res.get('content', '')) > len(duplicated.get('content', '')):
duplicated['content'] = res['content']
duplicated['score'] += score
duplicated['engine'] += ', '+res['engine']
if duplicated['parsed_url'].scheme == 'https':
continue
elif res['parsed_url'].scheme == 'https':