Browse Source

Merge pull request #7197 from fiLLLip/develop

Changed where to look for matches for Bit-HDTV due to site changes
pull/3622/merge
Ruud Burger 8 years ago
committed by GitHub
parent
commit
48e9b208b8
  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