From 117dc8b4008da5b1177214f8a8b73d0fd7ca2342 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Thu, 18 Aug 2016 18:03:55 +0100 Subject: [PATCH] Change IPTorrents. --- sickbeard/providers/iptorrents.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/providers/iptorrents.py b/sickbeard/providers/iptorrents.py index c5004476..94a05637 100644 --- a/sickbeard/providers/iptorrents.py +++ b/sickbeard/providers/iptorrents.py @@ -78,7 +78,8 @@ class IPTorrentsProvider(generic.TorrentProvider): raise generic.HaltParseException with BS4Parser(html, features=['html5lib', 'permissive']) as soup: - torrent_table = soup.find('table', attrs={'class': 'torrents'}) + torrent_table = soup.find('table', attrs={'id': 'torrents'}) or \ + soup.find('table', attrs={'class': 'torrents'}) torrent_rows = [] if not torrent_table else torrent_table.find_all('tr') if 2 > len(torrent_rows):