diff --git a/spider/task.py b/spider/task.py index 4734573..0ad6ffe 100644 --- a/spider/task.py +++ b/spider/task.py @@ -371,7 +371,7 @@ def retry_get_new_video(page, cookies, post_count): Returns: 函数执行结果或抛出Timeout(如果超时) """ - max_duration = 5 * 60 # 5分钟(秒) + max_duration = 20 * 60 # 5分钟(秒) retry_interval = 30 # 30秒重试一次 start_time = time.time() attempt = 1