Jelajahi Sumber

disable passing timeout arg to chrome because v111 is crashing when passed

Nick Sweeting 2 tahun lalu
induk
melakukan
606fa397a4
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      archivebox/util.py

+ 2 - 2
archivebox/util.py

@@ -260,8 +260,8 @@ def chrome_args(**options) -> List[str]:
     if options['RESOLUTION']:
         cmd_args += ('--window-size={}'.format(options['RESOLUTION']),)
 
-    if options['TIMEOUT']:
-        cmd_args += ('--timeout={}'.format(options['TIMEOUT'] * 1000),)
+    #if options['TIMEOUT']:
+    #    cmd_args += ('--timeout={}'.format(options['TIMEOUT'] * 1000),)
 
     if options['CHROME_USER_DATA_DIR']:
         cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR']))