diff --git a/changedetectionio/processors/magic.py b/changedetectionio/processors/magic.py index e3ce066d1..8c2f919a7 100644 --- a/changedetectionio/processors/magic.py +++ b/changedetectionio/processors/magic.py @@ -87,21 +87,8 @@ class guess_stream_type(): # Check for HTML patterns first - if found, override magic's text/plain has_html_patterns = any(p in test_content_normalized for p in HTML_PATTERNS) - if has_html_patterns or content_header == 'text/html': - self.is_html = True - # If magic says text/plain and we found no HTML patterns, trust it - elif magic_result == 'text/plain': - self.is_plaintext = True - logger.debug(f"Trusting magic's text/plain result (no HTML patterns detected)") - elif '