mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-18 10:40:03 +08:00
Update data_source.py
This commit is contained in:
@@ -41,7 +41,7 @@ async def get_setu_urls(
|
|||||||
url, timeout=Config.get_config("send_setu", "TIMEOUT"), params=params
|
url, timeout=Config.get_config("send_setu", "TIMEOUT"), params=params
|
||||||
)
|
)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
data = await response.json()
|
data = response.json()
|
||||||
if not data["error"]:
|
if not data["error"]:
|
||||||
data = data["data"]
|
data = data["data"]
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user