mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-19 23:35:54 -04:00
Incognito mode prevents local caching
This commit is contained in:
parent
09b0060137
commit
fdfaf496a9
@ -91,7 +91,7 @@ class Chrome():
|
||||
|
||||
def __enter__(self):
|
||||
import psutil, subprocess
|
||||
self.chrome_process = subprocess.Popen([self.executable, "--disable-web-sockets", "--temp-profile", "--remote-debugging-port=%s" % self.port])
|
||||
self.chrome_process = subprocess.Popen([self.executable, "--disable-web-sockets", "--incognito", "--temp-profile", "--remote-debugging-port=%s" % self.port])
|
||||
start = time.time()
|
||||
import socket
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user