From aca6c753bfc8788f4f4b36e4df404a841689be3d Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 17 May 2022 22:12:37 +0200 Subject: [PATCH] skip JSON --- changedetectionio/fetch_site_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/fetch_site_status.py b/changedetectionio/fetch_site_status.py index 69dbb29ba..c8b95321a 100644 --- a/changedetectionio/fetch_site_status.py +++ b/changedetectionio/fetch_site_status.py @@ -186,7 +186,7 @@ class perform_site_check(): # Treat pages with no renderable text content as a change? No by default empty_pages_are_a_change = self.datastore.data['settings']['application'].get('empty_pages_are_a_change', False) - if not empty_pages_are_a_change and len(stripped_text_from_html.strip()) == 0: + if not is_json and not empty_pages_are_a_change and len(stripped_text_from_html.strip()) == 0: raise content_fetcher.ReplyWithContentButNoText(url=url, status_code=200) # We rely on the actual text in the html output.. many sites have random script vars etc,