From c7374245e161fcd785707c23ceb525e4e6f8daaa Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 11 Jun 2025 09:43:48 +0200 Subject: [PATCH] Browser Steps - Fix for `source:` URLs fix (#3254) --- changedetectionio/blueprint/browser_steps/browser_steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/blueprint/browser_steps/browser_steps.py b/changedetectionio/blueprint/browser_steps/browser_steps.py index 03587b3e..ef3f0abd 100644 --- a/changedetectionio/blueprint/browser_steps/browser_steps.py +++ b/changedetectionio/blueprint/browser_steps/browser_steps.py @@ -132,7 +132,7 @@ class steppable_browser_interface(): # Incase they request to go back to the start async def action_goto_site(self, selector=None, value=None): - return await self.action_goto_url(value=self.start_url) + return await self.action_goto_url(value=re.sub(r'^source:', '', self.start_url, flags=re.IGNORECASE)) async def action_click_element_containing_text(self, selector=None, value=''): logger.debug("Clicking element containing text")