From 3d17a85c792b6b2e183321af7fa866ef68e4f6ce Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 27 Mar 2025 09:59:12 +0100 Subject: [PATCH] Clear title on save --- changedetectionio/store.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index d7f09f814..464e588b5 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -253,6 +253,12 @@ class ChangeDetectionStore: url = self.data['watching'][uuid].get('url') extras = deepcopy(self.data['watching'][uuid]) new_uuid = self.add_watch(url=url, extras=extras) + watch = self.data['watching'][new_uuid] + + if self.data['settings']['application'].get('extract_title_as_title') or watch['extract_title_as_title']: + # Because it will be recalculated on the next fetch + self.data['watching'][new_uuid]['title'] = None + return new_uuid def url_exists(self, url):