From cbb47fc396a73d39dc2e5c403fd8d6eef9dc72aa Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 19 七月 2024 11:04:47 +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