diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index ac345851a0eabd0974db890d4c663fa9b05e3308..59e44187922a4d01d88c862123fdcbf5aa1998a6 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -222,7 +222,7 @@ class KATProvider(generic.TorrentProvider): continue try: - soup = BeautifulSoup(html) + soup = BeautifulSoup(html, features=["html5lib", "permissive"]) torrent_table = soup.find('table', attrs = {'class' : 'data'}) torrent_rows = torrent_table.find_all('tr') if torrent_table else []