diff --git a/wrolpi/downloader.py b/wrolpi/downloader.py index f36b728e..85a5fa74 100644 --- a/wrolpi/downloader.py +++ b/wrolpi/downloader.py @@ -772,6 +772,9 @@ class RSSDownloader(Downloader, ABC): pretty_name = 'RSS' listable = False + def __repr__(self): + return '' + @classmethod def valid_url(cls, url: str) -> Tuple[bool, Optional[dict]]: """Attempts to parse an RSS Feed. If it succeeds, it returns a FeedParserDict as a dictionary.""" @@ -815,7 +818,8 @@ class RSSDownloader(Downloader, ABC): """ Feedparser can report some errors, some we can ignore. """ - if 'CharacterEncodingOverride' in str(feed['bozo_exception']): + if 'document declared as' in str(feed['bozo_exception']): + # Feed's encoding does not match what is declared, this is fine. return True return False