add:comments

This commit is contained in:
Sheyiyuan 2025-03-23 22:36:33 +08:00
parent c54f5a2a18
commit a040da8242

View File

@ -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: