Private GIT

Skip to content
Snippets Groups Projects
Commit b7b2c22e authored by Fernando's avatar Fernando
Browse files

Add temp log lines

Want to check if I'm the only one having this issue
parent 7bab0f59
No related branches found
No related tags found
No related merge requests found
......@@ -162,10 +162,12 @@ class HDTorrentsProvider(generic.TorrentProvider):
empty = html.find('No torrents here')
if empty:
logger.log(u"Could not find any torrents", logger.ERROR)
continue
tables = html.find('table', attrs={'class': 'mainblockcontenttt'})
if not tables:
logger.log(u"Could not find table of torrents mainblockcontenttt", logger.ERROR)
continue
torrents = tables.findChildren('tr')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment