fix: Replace self.print_error with print for timeout message

This commit is contained in:
Paul Gauthier 2025-03-28 15:36:25 -10:00 committed by Paul Gauthier (aider)
parent a038bc002a
commit d9e52e41ff

View file

@ -159,7 +159,7 @@ class Scraper:
try:
response = page.goto(url, wait_until="networkidle", timeout=5000)
except PlaywrightTimeoutError:
self.print_error(f"Page didn't quiesce, scraping content anyway: {url}")
print(f"Page didn't quiesce, scraping content anyway: {url}")
response = None
except PlaywrightError as e:
self.print_error(f"Error navigating to {url}: {str(e)}")