diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-27 15:13:39 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-27 15:13:39 +0200 |
| commit | 924f9afea37b6c545a03505a7ec291cf44654ca7 (patch) | |
| tree | e6dde4db9f29e6ffad19827569abc89db79e4544 /searx/search/processors/online_dictionary.py | |
| parent | b1557b544368b416c158c13f12946859abbe00e0 (diff) | |
[lint] pylint searx/search/processors files / BTW add some doc-strings
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/search/processors/online_dictionary.py')
| -rw-r--r-- | searx/search/processors/online_dictionary.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/searx/search/processors/online_dictionary.py b/searx/search/processors/online_dictionary.py index 987c710a1..11ca0335d 100644 --- a/searx/search/processors/online_dictionary.py +++ b/searx/search/processors/online_dictionary.py @@ -1,15 +1,18 @@ # SPDX-License-Identifier: AGPL-3.0-or-later +# lint: pylint +"""Processores for engine-type: ``online_dictionary`` + +""" import re from searx.utils import is_valid_lang from .online import OnlineProcessor - parser_re = re.compile('.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I) - class OnlineDictionaryProcessor(OnlineProcessor): + """Processor class used by ``online_dictionnary`` engines.""" engine_type = 'online_dictionnary' |