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