From a9b53e8c85da02ee37342f0c0bea10330072bee1 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 4 Jun 2025 21:14:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=88=AA=E5=9B=BE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BB=A5=E8=AE=B0=E5=BD=95=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=A4=84=E7=90=86=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report_video.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/report_video.py b/report_video.py index 9602876..0c97da2 100644 --- a/report_video.py +++ b/report_video.py @@ -110,7 +110,8 @@ class DailymotionClient: 1) please help remove these videos 2) The drama series titles are {} """.format(title) - print(f"开始处理任务") + file_path = f'screenshots/{str(int(time.time()))}_{title}_{link.split("/")[-1]}.png' + self.page.screenshot(path=file_path) resports = self.page.locator('li.blocks-item:nth-child(8)') resports.click()