From d33a89be59e157d66df6643981e7796b5e20596b Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 11 Jan 2024 00:04:15 +0100 Subject: [PATCH] Re #1627 and #1823 #2099 - quote wrapped URL for browserstep url was breaking the connection --- changedetectionio/blueprint/browser_steps/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/blueprint/browser_steps/__init__.py b/changedetectionio/blueprint/browser_steps/__init__.py index b58eedee..227c8ec2 100644 --- a/changedetectionio/blueprint/browser_steps/__init__.py +++ b/changedetectionio/blueprint/browser_steps/__init__.py @@ -58,7 +58,7 @@ def construct_blueprint(datastore: ChangeDetectionStore): io_interface_context = io_interface_context.start() keepalive_ms = ((keepalive_seconds + 3) * 1000) - base_url = os.getenv('PLAYWRIGHT_DRIVER_URL', '') + base_url = os.getenv('PLAYWRIGHT_DRIVER_URL', '').strip('"') a = "?" if not '?' in base_url else '&' base_url += a + f"timeout={keepalive_ms}"