More time to resolve the page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user