Removed the ignore_https_errors option when launching the Playwright browser.

This commit is contained in:
Paul Gauthier 2024-07-23 11:39:00 +02:00 committed by Paul Gauthier (aider)
parent d164c85426
commit 1a345a4036

View file

@ -112,7 +112,7 @@ class Scraper:
with sync_playwright() as p:
try:
browser = p.chromium.launch(ignore_https_errors=not self.verify_ssl)
browser = p.chromium.launch()
except Exception as e:
self.playwright_available = False
self.print_error(str(e))