From c1c453e4fe61150da0543f22fced059079ec8af4 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 27 Jan 2022 23:00:39 +0100 Subject: [PATCH] .add_watch() can accept empty tag Use https://changedetection.io/CHANGELOG.txt as a nice default page to watch --- changedetectionio/store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index 187fde83..c23bf204 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -133,7 +133,7 @@ class ChangeDetectionStore: self.add_watch(url='http://www.quotationspage.com/random.php', tag='test') self.add_watch(url='https://news.ycombinator.com/', tag='Tech news') self.add_watch(url='https://www.gov.uk/coronavirus', tag='Covid') - self.add_watch(url='https://changedetection.io', tag='Tech news') + self.add_watch(url='https://changedetection.io/CHANGELOG.txt') self.__data['version_tag'] = version_tag @@ -329,7 +329,7 @@ class ChangeDetectionStore: self.needs_write = True return changes_removed - def add_watch(self, url, tag, extras=None): + def add_watch(self, url, tag="", extras=None): if extras is None: extras = {}