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'