From 0d676fdaecae7103468aa622d03d2d912c3b325b Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 27 Sep 2011 12:59:17 +0200 Subject: [PATCH] fix parsing torrent info --- weboob/backends/gazelle/pages/torrents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/gazelle/pages/torrents.py b/weboob/backends/gazelle/pages/torrents.py index b95d1522..4c79a415 100644 --- a/weboob/backends/gazelle/pages/torrents.py +++ b/weboob/backends/gazelle/pages/torrents.py @@ -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: