Browse Source

Changed where to look for matches for Bit-HDTV due to site changes https://www.bit-hdtv.com/forums/viewtopic.php?pid=96375

pull/7197/head
Filip Andre Larsen Tomren 8 years ago
parent
commit
2086d9acda
  1. 7
      couchpotato/core/media/_base/providers/torrent/bithdtv.py

7
couchpotato/core/media/_base/providers/torrent/bithdtv.py

@ -42,7 +42,12 @@ class Base(TorrentProvider):
html = BeautifulSoup(data, 'html.parser')
try:
result_table = html.find('table', attrs = {'width': '750', 'class': ''})
result_tables = html.find_all('table', attrs = {'width': '750', 'class': ''})
if result_tables is None:
return
result_table = result_tables[1]
if result_table is None:
return

Loading…
Cancel
Save