forked from Ponysearch/Ponysearch
[fix] only 1-word search triggers the engine
This commit is contained in:
parent
7bf1013c15
commit
22bd39fd42
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ categories = ['general']
|
||||||
url = 'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}'
|
url = 'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}'
|
||||||
weight = 100
|
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'
|
results_xpath = './/table[@id="r"]/tr'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue