From 71a24e100ec486b5fba19f3d2482c898a970256c Mon Sep 17 00:00:00 2001 From: qist <87984115@qq.com> Date: Fri, 30 Jan 2026 12:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90=E6=AF=8F3=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/run.yml | 2 +- tools/fty.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 1e4a1bce..6723fc2b 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -2,7 +2,7 @@ name: Update xiaosa on: workflow_dispatch: schedule: - - cron: "30 3 * * *" + - cron: "20 */3 * * *" push: branches: - master diff --git a/tools/fty.py b/tools/fty.py index 9a1515eb..8712007e 100644 --- a/tools/fty.py +++ b/tools/fty.py @@ -6,7 +6,7 @@ import json # 下载伪 JSON 文本 def fetch_raw_json(): url = "https://ua.fongmi.eu.org/box.php?url=https%3A%2F%2Fwww.xn--sss604efuw.com%2Ftv" - resp = requests.get(url, timeout=10) + resp = requests.get(url, timeout=30) resp.encoding = 'utf-8' return resp.text @@ -18,7 +18,7 @@ def extract_and_save_spider(json_text): full_spider = match.group(1) spider_url = full_spider.split(";")[0] print(f"📥 下载 spider 文件: {spider_url}") - resp = requests.get(spider_url, timeout=10) + resp = requests.get(spider_url, timeout=30) with open("fan.txt", "wb") as f: f.write(resp.content) print("✅ 已保存为 fan.txt")