Increased timeout
This commit is contained in:
@@ -60,7 +60,7 @@ BSKY_LOGIN_JITTER_MAX = 1.5
|
||||
MEDIA_DOWNLOAD_TIMEOUT = 30
|
||||
LINK_METADATA_TIMEOUT = 10
|
||||
URL_RESOLVE_TIMEOUT = 12
|
||||
PLAYWRIGHT_RESOLVE_TIMEOUT_MS = 30000
|
||||
PLAYWRIGHT_RESOLVE_TIMEOUT_MS = 40000
|
||||
SUBPROCESS_TIMEOUT_SECONDS = 180
|
||||
FFPROBE_TIMEOUT_SECONDS = 15
|
||||
DEFAULT_BSKY_BASE_URL = "https://bsky.social"
|
||||
@@ -2705,7 +2705,7 @@ def extract_video_url_from_tweet_page(browser_context, tweet_url):
|
||||
logging.info(
|
||||
f"🎬 Opening tweet page to capture video URL: {tweet_url}"
|
||||
)
|
||||
page.goto(tweet_url, wait_until="domcontentloaded", timeout=30000)
|
||||
page.goto(tweet_url, wait_until="domcontentloaded", timeout=40000)
|
||||
time.sleep(2)
|
||||
|
||||
player = page.locator('[data-testid="videoPlayer"]').first
|
||||
|
||||
Reference in New Issue
Block a user