[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}' | 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 New Issue
	
	Block a user