From 43420a4191e63e5e5ee9298554749ee4d5f65082 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 20 Jul 2025 18:07:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E6=B6=88playwright=20=E7=9A=84?= =?UTF-8?q?=20=E7=BD=91=E7=BB=9C=E7=AD=89=E5=BE=85,=E5=9C=A8=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=9D=A1=E4=BB=B6=E5=A5=BD=E6=98=AF=E7=A7=92=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E6=97=A0=E9=9C=80=E7=BD=91=E7=BB=9C=E7=AD=89?= =?UTF-8?q?=E5=BE=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report_video.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/report_video.py b/report_video.py index a80a5c0..1309881 100644 --- a/report_video.py +++ b/report_video.py @@ -313,7 +313,7 @@ class DailymotionClient: for attempt in range(max_retries): try: self.page.goto(f"https://faq.dailymotion.com/hc/en-us/requests/{report_id}", timeout=30000) - self.page.wait_for_load_state("networkidle") # 保证页面加载稳定 + # self.page.wait_for_load_state("networkidle") # 保证页面加载稳定 self.page.wait_for_selector("span.status-label", timeout=30000) try: status_raw = self.page.locator("span.status-label").text_content() @@ -409,7 +409,7 @@ class DailymotionClient: pass -if __name__ == "__main__": - dm = DailymotionClient("zhongpankeji@qq.com", "1q2w3eZp123@#") - # dm.process_ticket("恋爱学园","https://www.dailymotion.com/video/x9lfr24") - # dm.report_follow_up("2990081") +# if __name__ == "__main__": +# dm = DailymotionClient("zhongpankeji@qq.com", "1q2w3eZp123@#") +# # dm.process_ticket("恋爱学园","https://www.dailymotion.com/video/x9lfr24") +# # dm.report_follow_up("2990081")