- def item_is_interesting_for_headlines(self, title, description, item):
+ @staticmethod
+ def looks_like_football(title: str, description: str) -> bool:
+ return (
+ title.find("NFL") != -1
+ or re.search("[Ll]ive [Ss]tream", title) != None
+ or re.search("[Ll]ive[Ss]tream", title) != None
+ or re.search("[Ll]ive [Ss]tream", description) != None
+ )
+
+ def item_is_interesting_for_headlines(
+ self, title: str, description: str, item: xml.etree.ElementTree.Element
+ ) -> bool: