diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-24 20:56:03 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-24 21:10:55 +0200 |
commit | 4231a5770bced12497cbd0a3000d12c8d3940295 (patch) | |
tree | 913ae0ca9f15ed4508df90acb0f0f29e5f41cdaf /searx/engines/sjp.py | |
parent | 55d1936bdc3acf05f8ec2c7cec51161d522d6f84 (diff) | |
download | searxng-4231a5770bced12497cbd0a3000d12c8d3940295.tar.gz searxng-4231a5770bced12497cbd0a3000d12c8d3940295.zip |
[fix] sjp engine - convert enginename to a latin1 compliance name
The engine name is not only a *name* its also a identifier that is used in
logs, HTTP headers and more. Unicode characters in the name of an engine could
cause various issues.
Closes: https://github.com/searxng/searxng/issues/1544
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/sjp.py')
-rw-r--r-- | searx/engines/sjp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/engines/sjp.py b/searx/engines/sjp.py index 8342a2819..6daa46e78 100644 --- a/searx/engines/sjp.py +++ b/searx/engines/sjp.py @@ -1,6 +1,8 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Słownik Języka Polskiego (general) +# lint: pylint +"""Słownik Języka Polskiego +Dictionary of the polish language from PWN (sjp.pwn) """ from lxml.html import fromstring |