From 7ed3678811698c6671fd9a0bf6b38f6894a6f17c Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 4 Jun 2025 22:35:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E5=A4=84=E7=90=86=E4=BB=A5=E7=AE=80=E5=8C=96=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_video.py b/report_video.py index 0876db4..3f44aba 100644 --- a/report_video.py +++ b/report_video.py @@ -119,7 +119,7 @@ class DailymotionClient: self.page.goto(self.url, timeout=30000) self.page.wait_for_load_state("networkidle", timeout=30000) - file_path = f'screenshots/{str(int(time.time()))}_{title}_{link.split("/")[-1]}.png' + file_path = f'screenshots/{str(int(time.time()))}.png' self.page.screenshot(path=file_path) if self.page.query_selector("div.cf-turnstile[data-sitekey]"):