diff --git a/sickbeard/providers/iptorrents.py b/sickbeard/providers/iptorrents.py index 2313efb9..4d84e487 100644 --- a/sickbeard/providers/iptorrents.py +++ b/sickbeard/providers/iptorrents.py @@ -174,6 +174,7 @@ class IPTorrentsProvider(generic.TorrentProvider): continue try: + data = re.sub(r'', '', data, 0, re.IGNORECASE | re.MULTILINE) with BS4Parser(data, features=["html5lib", "permissive"]) as html: if not html: logger.log(u"Invalid HTML data: " + str(data), logger.DEBUG)