More time to resolve the page

This commit is contained in:
2026-04-25 06:28:12 +00:00
parent 90938f65b4
commit 4bd3fad2e7

View File

@@ -2475,7 +2475,7 @@ def scrape_tweets_via_playwright(username, password, email, target_handle):
login_page.fill('input[name="password"]', password)
login_page.locator('span:has-text("Log in")').first.click()
login_page.wait_for_url("**/home", timeout=20000)
login_page.wait_for_url("**/home", timeout=40000)
time.sleep(3)
browser_context.storage_state(path=state_file)