InvestigateWest!
authorScott Gasch <[email protected]>
Mon, 1 Apr 2024 00:47:49 +0000 (17:47 -0700)
committerScott Gasch <[email protected]>
Mon, 1 Apr 2024 00:47:49 +0000 (17:47 -0700)
invw_rss_renderer.py

index 0cbbeaf1aed1986b491583c5f8f889d53839394f..ea610f3fdb795db39968dc39d31a5fd9482d2617 100644 (file)
@@ -37,12 +37,12 @@ class invw_rss_renderer(gnrssr.generic_news_rss_renderer):
     def item_is_interesting_for_headlines(
         self, title: str, description: str, item: xml.etree.ElementTree.Element
     ) -> bool:
-        return True
+        return title != "InvestigateWest"
 
     def item_is_interesting_for_article(
         self, title: str, description: str, item: xml.etree.ElementTree.Element
     ) -> bool:
-        return True
+        return title != "InvestigateWest" and description != "InvestigateWest"
 
 # Test
 #x = invw_rss_renderer(