zwxi 9 months ago
parent
commit
26c9b31445
1 changed files with 5 additions and 5 deletions
  1. 5 5
      services/smart_report.go

+ 5 - 5
services/smart_report.go

@@ -227,11 +227,11 @@ async def main():
             'waitUntil': 'networkidle0',
             'timeout': 1000000  # 设置超时时间为 100 秒
         })
-        
-		# 在这里添加两秒的等待
-		await asyncio.sleep(2)
-		
-        # 截取全页面的屏幕截图
+        # Customizing footer for page numbers starting from page 2
+
+        # 在这里添加两秒的等待
+        await asyncio.sleep(2)
+
         await page.screenshot({
             'path': "%s",
             'fullPage': True,