From 5a7335e5834a45a9911ea2a166a0bdcda3d7365f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E5=BE=AE?= Date: Wed, 24 Jun 2026 22:05:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20xiaoguo=5Fscanner=20LLM=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E6=81=A2=E5=A4=8D30s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaoguo_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiaoguo_scanner.py b/xiaoguo_scanner.py index ed1cfe2..e467c61 100644 --- a/xiaoguo_scanner.py +++ b/xiaoguo_scanner.py @@ -224,7 +224,7 @@ def check_stock(code, name, articles): req = urllib.request.Request(XIAOGUO_API, data=payload, headers={"Content-Type": "application/json"}, method="POST") try: - resp = opener.open(req, timeout=15) + resp = opener.open(req, timeout=30) reply = json.loads(resp.read())["choices"][0]["message"]["content"] if "有关" in reply or "利好" in reply or "利空" in reply: for s in ["利好", "利空", "中性"]: