Merge pull request #1443 from return42/fix-online_dictionary

[fix] online_dictionary: regular expression
dependabot/pip/master/sphinx-6.1.3
Markus Heiser 2 years ago committed by GitHub
commit c63fab6928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ import re
from searx.utils import is_valid_lang
from .online import OnlineProcessor
parser_re = re.compile('.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)
parser_re = re.compile('.*?([a-z]+)-([a-z]+) (.+)$', re.I)
class OnlineDictionaryProcessor(OnlineProcessor):

Loading…
Cancel
Save