From a040da8242905da867e7fcdc4f4a7099933bfde0 Mon Sep 17 00:00:00 2001 From: Sheyiyuan <2125107118@qq.com> Date: Sun, 23 Mar 2025 22:36:33 +0800 Subject: [PATCH] add:comments --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index f8535c8..d2e316e 100644 --- a/main.py +++ b/main.py @@ -84,6 +84,7 @@ class BiliWebCrawler: return resp except Exception as e: print(f"请求失败: {str(e)}, 第{i + 1}次重试...") + send_notification(f"请求失败: {str(e)}, 第{i + 1}次重试...") sleep(uniform(1, 3)) return None @@ -378,6 +379,7 @@ if __name__ == "__main__": targets = load_targets() if not targets: print("未找到有效的BV号,程序退出") + send_notification("未找到有效的BV号,程序退出") exit() send_info_log(f"开始批量处理 {len(targets)} 个视频") for bvid in targets: