podcast_archiver/models/episode.py
Showing 1 of 1 total issue
Function populate_enclosure
has a Cognitive Complexity of 9 (exceeds 8 allowed). Consider refactoring. Open
Open
def populate_enclosure(self) -> BaseEpisode: for link in self.links: if link.rel != "enclosure": continue parsed_url = urlparse(link.href)
- Read upRead up