From 85fce7eadd32459b0b5724c0a8d2810019f4d6d5 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 25 Jun 2025 21:01:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E4=B8=AA=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E6=94=AF=E6=8C=81?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=92=8C=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report_video.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/report_video.py b/report_video.py index c7a9f3c..8314e42 100644 --- a/report_video.py +++ b/report_video.py @@ -258,9 +258,10 @@ class DailymotionClient: self.page.get_by_role("checkbox", name="By submitting the present form,", exact=False).check() time.sleep(1) self.page.set_input_files('input#request-attachments', [ - self.file_path + self.file_path, + self.file_path2 ]) - self.page.wait_for_timeout(5000) + self.page.wait_for_timeout(8000) self.page.get_by_role("button", name="Submit").click() time.sleep(2) file_path = f'screenshots/{str(int(time.time()))}_{title}_{link.split("/")[-1]}.png'