[fix] dictzone engine

This commit is contained in:
Dalf 2019-08-05 15:43:21 +02:00
parent 9ff5001816
commit fbf6b689dd

View file

@ -15,7 +15,7 @@ from searx.utils import is_valid_lang
from searx.url_utils import urljoin from searx.url_utils import urljoin
categories = ['general'] categories = ['general']
url = u'http://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}' url = u'https://dictzone.com/{from_lang}-{to_lang}-dictionary/{query}'
weight = 100 weight = 100
parser_re = re.compile(b'.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I) parser_re = re.compile(b'.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)