From c28f6143555a55df691bebb4e765fd24cce29873 Mon Sep 17 00:00:00 2001 From: 2509165036 <2509165036@student.edu.cn> Date: Tue, 24 Mar 2026 11:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BD=9C=E4=B8=9AX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2509165036胡红辉.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2509165036胡红辉.py b/2509165036胡红辉.py index 1e5ee70..4218128 100644 --- a/2509165036胡红辉.py +++ b/2509165036胡红辉.py @@ -16,4 +16,6 @@ for a in soup.find_all('a'): movies.append(title) print('-----------') print(movies) - \ No newline at end of file +print(f"第{page+1}页:{title}") +print(f"1 第{page+1}页爬取完成,共{len(movies)}条数据\n") +print(f"错第{page+1}页爬取失败:{e}")