Private GIT

Skip to content
Snippets Groups Projects
Commit c2144587 authored by Ruud's avatar Ruud
Browse files

IPTorrents, don't continue if nothing found. fixes #1423

parent bfe501c8
Branches
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ class IPTorrents(TorrentProvider):
try:
result_table = html.find('table', attrs = {'class' : 'torrents'})
if not result_table:
if not result_table or 'nothing found!' in data.lower():
return
entries = result_table.find_all('tr')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment