From f08cb61eb22a7c006c84fe57a2e857e2b23b061c Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 27 六月 2024 14:35:48 +0800 Subject: [PATCH] 相同价格判断机制bug修复 --- third_data/kpl_api.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/third_data/kpl_api.py b/third_data/kpl_api.py index f174bf4..b3054cb 100644 --- a/third_data/kpl_api.py +++ b/third_data/kpl_api.py @@ -19,7 +19,7 @@ DABAN_TYPE_EVER_LIMIT_DOWN = 5 -def __base_request(url, data, timeout=60): +def __base_request(url, data, timeout=10): DELEGATE = True if not DELEGATE: headers = { @@ -258,4 +258,9 @@ if __name__ == "__main__": - print(getLimitUpInfoNew()) + # getCodeBlocks("300198") + data = (getMarketJingXuanRealRankingInfo()) + data=json.loads(data) + print(len(data["list"])) + # data = json.loads(getCodesByPlate("801235")) + # print(data) -- Gitblit v1.8.0