IPTorrents, don't continue if nothing found. fixes #1423
This commit is contained in:
@@ -42,7 +42,7 @@ class IPTorrents(TorrentProvider):
|
|||||||
try:
|
try:
|
||||||
result_table = html.find('table', attrs = {'class' : 'torrents'})
|
result_table = html.find('table', attrs = {'class' : 'torrents'})
|
||||||
|
|
||||||
if not result_table:
|
if not result_table or 'nothing found!' in data.lower():
|
||||||
return
|
return
|
||||||
|
|
||||||
entries = result_table.find_all('tr')
|
entries = result_table.find_all('tr')
|
||||||
|
|||||||
Reference in New Issue
Block a user