def get_details_page_prefix(self) -> str:
return f"cnn-details-{self.page_title}"
- def munge_description(self, description: str) -> str:
+ def munge_description(self, description: str, item: xml.etree.ElementTree.Element) -> str:
description = re.sub("[Rr]ead full story for latest details.", "", description)
description = re.sub("<[^>]+>", "", description)
return description