Ability to apply filters (first, last etc)

This commit is contained in:
dgtlmoon
2025-10-10 17:26:20 +02:00
parent f02fb7406d
commit 709dadc492
3 changed files with 48 additions and 2 deletions
@@ -397,6 +397,11 @@ class perform_site_check(difference_detection_processor):
# RSS preprocessing
if stream_content_type.is_rss:
content = content_processor.preprocess_rss(content)
if self.datastore.data["settings"]["application"].get("rss_reader_mode"):
# Now just becomes regular HTML that can have xpath/CSS applied (first of the set etc)
stream_content_type.is_rss = False
stream_content_type.is_html = True
self.fetcher.content = content
# PDF preprocessing
if watch.is_pdf or stream_content_type.is_pdf: