|
@@ -174,7 +174,9 @@ def score_results(results):
|
174
|
174
|
else new_res['parsed_url'].path
|
175
|
175
|
|
176
|
176
|
# check if that result is a duplicate
|
177
|
|
- if res['host'] == new_res['host'] and unquote(p1) == unquote(p2) and res['parsed_url'].query == new_res['parsed_url'].query and res.get('template') == new_res.get('template'):
|
|
177
|
+ if res['host'] == new_res['host'] and unquote(p1) == unquote(p2) \
|
|
178
|
+ and res['parsed_url'].query == new_res['parsed_url'].query \
|
|
179
|
+ and res.get('template') == new_res.get('template'):
|
178
|
180
|
duplicated = new_res
|
179
|
181
|
break
|
180
|
182
|
|