fix parsing torrent info
This commit is contained in:
parent
74a3d56894
commit
0d676fdaec
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ class TorrentsPage(BasePage):
|
|||
is_table = True
|
||||
|
||||
for tr in table.findall('tr' if is_table else 'div'):
|
||||
if is_table and tr.attrib.get('class', '').startswith('group_torrent'):
|
||||
if is_table and 'group_torrent' in tr.attrib.get('class', ''):
|
||||
tds = tr.findall('td')
|
||||
|
||||
if not len(tds) == 5:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue