On essaye de régler le problème de timeout

This commit is contained in:
Jean-Marie Favreau 2024-08-16 12:09:41 +02:00
parent ac641ce702
commit dd4eb5221c

View File

@ -66,6 +66,11 @@ class ChromiumHeadlessDownloader(Downloader):
self.options.add_argument("--headless=new")
self.options.add_argument("--disable-dev-shm-usage")
self.options.add_argument("--no-sandbox")
self.options.add_argument("start-maximized")
self.options.add_argument("enable-automation")
self.options.add_argument("--disable-dev-shm-usage")
self.options.add_argument("--disable-browser-side-navigation")
self.options.add_argument("--disable-gpu")
self.options.add_experimental_option(
"prefs", {
# block image loading