发视频等待为20分钟
This commit is contained in:
@@ -371,7 +371,7 @@ def retry_get_new_video(page, cookies, post_count):
|
|||||||
Returns:
|
Returns:
|
||||||
函数执行结果或抛出Timeout(如果超时)
|
函数执行结果或抛出Timeout(如果超时)
|
||||||
"""
|
"""
|
||||||
max_duration = 5 * 60 # 5分钟(秒)
|
max_duration = 20 * 60 # 5分钟(秒)
|
||||||
retry_interval = 30 # 30秒重试一次
|
retry_interval = 30 # 30秒重试一次
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
attempt = 1
|
attempt = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user