Don't continue with bitsoup if table isn't found. fix #2633

This commit is contained in:
Ruud
2014-01-06 22:36:51 +01:00
parent 4cdf71513f
commit 5e24b11c21
@@ -35,6 +35,9 @@ class Bitsoup(TorrentProvider):
try:
result_table = html.find('table', attrs = {'class': 'koptekst'})
if not result_table or 'nothing found!' in data.lower():
return
entries = result_table.find_all('tr')
for result in entries[1:]: