mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[fix] only 1-word search triggers the engine
This commit is contained in:
parent
7bf1013c15
commit
22bd39fd42
@ -9,7 +9,7 @@ categories = ['general']
|
||||
url = 'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}'
|
||||
weight = 100
|
||||
|
||||
parser_re = re.compile(u'.*?([a-z]+)-([a-z]+) (.+)', re.I)
|
||||
parser_re = re.compile(u'.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)
|
||||
results_xpath = './/table[@id="r"]/tr'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user