|
@@ -52,7 +52,7 @@ def searx_bang(full_query):
|
52
|
52
|
|
53
|
53
|
# check if query starts with engine name
|
54
|
54
|
for engine in engines:
|
55
|
|
- if engine.startswith(engine_query):
|
|
55
|
+ if engine.startswith(engine_query.replace('_', ' ')):
|
56
|
56
|
results.append('!{engine}'.format(engine=engine.replace(' ', '_')))
|
57
|
57
|
|
58
|
58
|
# check if query starts with engine shortcut
|
|
@@ -86,7 +86,7 @@ def searx_bang(full_query):
|
86
|
86
|
results.append(':{lang_name}'.format(lang_name=lang_name))
|
87
|
87
|
|
88
|
88
|
# check if query starts with country
|
89
|
|
- if country.startswith(engine_query):
|
|
89
|
+ if country.startswith(engine_query.replace('_', ' ')):
|
90
|
90
|
results.append(':{country}'.format(country=country.replace(' ', '_')))
|
91
|
91
|
|
92
|
92
|
# remove duplicates
|