mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-06 13:34:31 -04:00
chore: merge logged proxy info into existing log call
This commit is contained in:
parent
cdb81496f6
commit
f0d527cda7
1 changed files with 1 additions and 2 deletions
|
@ -222,9 +222,8 @@ class Chrome:
|
||||||
chrome_args.append("--ignore-certificate-errors")
|
chrome_args.append("--ignore-certificate-errors")
|
||||||
if proxy:
|
if proxy:
|
||||||
chrome_args.append("--proxy-server=%s" % proxy)
|
chrome_args.append("--proxy-server=%s" % proxy)
|
||||||
self.logger.info(f"Chrome launched with args {chrome_args} proxy is {proxy}")
|
|
||||||
chrome_args.append("about:blank")
|
chrome_args.append("about:blank")
|
||||||
self.logger.info("running", chrome_args=subprocess.list2cmdline(chrome_args))
|
self.logger.info("running", chrome_args=subprocess.list2cmdline(chrome_args), proxy=proxy)
|
||||||
# start_new_session - new process group so we can kill the whole group
|
# start_new_session - new process group so we can kill the whole group
|
||||||
self.chrome_process = subprocess.Popen(
|
self.chrome_process = subprocess.Popen(
|
||||||
chrome_args,
|
chrome_args,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue