Updated timeouts

This commit is contained in:
2026-04-25 15:18:34 +00:00
parent 4bd3fad2e7
commit 80b167d1c0

View File

@@ -2504,7 +2504,7 @@ def scrape_tweets_via_playwright(username, password, email, target_handle):
scrape_page.goto(f"https://x.com/{target_handle}") scrape_page.goto(f"https://x.com/{target_handle}")
try: try:
scrape_page.wait_for_selector("article", timeout=20000) scrape_page.wait_for_selector("article", timeout=40000)
time.sleep(2) time.sleep(2)
articles = scrape_page.locator("article").all() articles = scrape_page.locator("article").all()