From b7c37ccaf7c22be46fd4945fab16f82e7a4afff7 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Fri, 17 Oct 2014 04:21:21 +0100 Subject: [PATCH] Fix searching IPTorrentsProvider. --- sickbeard/providers/iptorrents.py | 1 + 1 file changed, 1 insertion(+) 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)