diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index b0b19f99..abc2fc4f 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -479,7 +479,7 @@ class processor_text_json_diff_form(commonSettingsForm): body = TextAreaField('Request body', [validators.Optional()]) method = SelectField('Request method', choices=valid_method, default=default_method) ignore_status_codes = BooleanField('Ignore status codes (process non-2xx status codes as normal)', default=False) - check_unique_lines = BooleanField('Only trigger when unique lines appear', default=False) + check_unique_lines = BooleanField('Only trigger when unique lines appear in all history', default=False) sort_text_alphabetically = BooleanField('Sort text alphabetically', default=False) filter_text_added = BooleanField('Added lines', default=True) diff --git a/changedetectionio/processors/text_json_diff/processor.py b/changedetectionio/processors/text_json_diff/processor.py index 7fdc112b..115cb6b1 100644 --- a/changedetectionio/processors/text_json_diff/processor.py +++ b/changedetectionio/processors/text_json_diff/processor.py @@ -236,7 +236,7 @@ class perform_site_check(difference_detection_processor): # We had some content, but no differences were found # Store our new file as the MD5 so it will trigger in the future c = hashlib.md5(text_content_before_ignored_filter.translate(None, b'\r\n\t ')).hexdigest() - return False, {'previous_md5': c}, stripped_text_from_html.encode('utf-8') + return False, {'previous_md5': c}, stripped_text_from_html.encode('utf-8'), stripped_text_from_html.encode('utf-8') else: stripped_text_from_html = rendered_diff