don't care if no table is found (it means that there is no result)
This commit is contained in:
parent
550fee93ba
commit
24276ff868
1 changed files with 1 additions and 3 deletions
|
|
@ -48,9 +48,7 @@ class TorrentsPage(BasePage):
|
|||
table = self.document.getroot().cssselect('table.torrent_table')
|
||||
if not table:
|
||||
table = self.document.getroot().cssselect('table#browse_torrent_table')
|
||||
if not table:
|
||||
warning('No table found')
|
||||
else:
|
||||
if table:
|
||||
table = table[0]
|
||||
current_group = None
|
||||
for tr in table.findall('tr'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue