forked from zaclys/searxng
[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>
This commit is contained in:
parent
55d1936bdc
commit
4231a5770b
|
@ -1,6 +1,8 @@
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# 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
|
from lxml.html import fromstring
|
||||||
|
|
|
@ -1732,7 +1732,7 @@ engines:
|
||||||
results: HTML
|
results: HTML
|
||||||
language: de
|
language: de
|
||||||
|
|
||||||
- name: słownik języka polskiego
|
- name: sjp.pwn
|
||||||
engine: sjp
|
engine: sjp
|
||||||
shortcut: sjp
|
shortcut: sjp
|
||||||
base_url: https://sjp.pwn.pl/
|
base_url: https://sjp.pwn.pl/
|
||||||
|
|
Loading…
Reference in New Issue