[fix] fix Quark engine calling
This commit is contained in:
parent
3392beb914
commit
8595e467ce
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user