[fix] fix Quark engine calling

This commit is contained in:
Zhijie He 2025-04-24 20:20:09 +08:00 committed by Markus Heiser
parent 3392beb914
commit 8595e467ce

View File

@ -11,7 +11,7 @@ from searx.exceptions import SearxEngineAPIException, SearxEngineCaptchaExceptio
# Metadata # Metadata
about = { about = {
"website": "https://m.quark.cn/", "website": "https://quark.sm.cn/",
"wikidata_id": "Q48816502", "wikidata_id": "Q48816502",
"use_official_api": False, "use_official_api": False,
"require_api_key": False, "require_api_key": False,
@ -53,7 +53,7 @@ def request(query, params):
category_config = { category_config = {
'general': { 'general': {
'endpoint': 'https://m.quark.cn/s', 'endpoint': 'https://quark.sm.cn/s',
'params': { 'params': {
"q": query, "q": query,
"layout": "html", "layout": "html",