diff options
Diffstat (limited to 'searx/engines/dictzone.py')
-rw-r--r-- | searx/engines/dictzone.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py index 5de6c5b98..9765d5f60 100644 --- a/searx/engines/dictzone.py +++ b/searx/engines/dictzone.py @@ -13,11 +13,10 @@ import re from urlparse import urljoin from lxml import html from cgi import escape -from searx.engines.xpath import extract_text from searx.utils import is_valid_lang categories = ['general'] -url = 'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}' +url = u'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}' weight = 100 parser_re = re.compile(u'.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I) |