Private GIT

Skip to content
Snippets Groups Projects
Commit cc2812af authored by miigotu's avatar miigotu
Browse files

Merge branch 'ettv-typo'

parents 9fcc5d65 e8b4e135
Branches
Tags
No related merge requests found
...@@ -94,7 +94,7 @@ class elitetorrentProvider(TorrentProvider): ...@@ -94,7 +94,7 @@ class elitetorrentProvider(TorrentProvider):
try: try:
with BS4Parser(data, 'html5lib') as html: with BS4Parser(data, 'html5lib') as html:
torrent_table = html.find('table', class_='fichas-listado') torrent_table = html.find('table', class_='fichas-listado')
torrent_rows = torrent_table.find_ll('tr') if torrent_table else [] torrent_rows = torrent_table.find_all('tr') if torrent_table else []
if len(torrent_rows) < 2: if len(torrent_rows) < 2:
logger.log(u"Data returned from provider does not contain any torrents", logger.DEBUG) logger.log(u"Data returned from provider does not contain any torrents", logger.DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment