From 5e2049c53888d3d6e6725cbedf5f75b7018bc2f7 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 13 Nov 2023 17:02:27 +0100 Subject: [PATCH] Fix build issue --- changedetectionio/processors/text_json_diff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/processors/text_json_diff.py b/changedetectionio/processors/text_json_diff.py index b8cf8a9e..b503c5be 100644 --- a/changedetectionio/processors/text_json_diff.py +++ b/changedetectionio/processors/text_json_diff.py @@ -175,8 +175,8 @@ class perform_site_check(difference_detection_processor): is_rss=is_rss) elif filter_rule.startswith('xpath1:'): html_content += html_tools.xpath1_filter(xpath_filter=filter_rule.replace('xpath1:', ''), - html_content=fetcher.content, - append_pretty_line_formatting=not is_source, + html_content=self.fetcher.content, + append_pretty_line_formatting=not watch.is_source_type_url, is_rss=is_rss) else: # CSS Filter, extract the HTML that matches and feed that into the existing inscriptis::get_text