diff --git a/weboob/backends/gazelle/pages/torrents.py b/weboob/backends/gazelle/pages/torrents.py index 47e43d4b..5ea647f5 100644 --- a/weboob/backends/gazelle/pages/torrents.py +++ b/weboob/backends/gazelle/pages/torrents.py @@ -163,10 +163,10 @@ class TorrentsPage(BasePage): title_t = box.cssselect('div.head') if title_t: - title = title_t[0].find('strong').text + title = title_t[0].find('strong').text.strip() body_t = box.cssselect('div.body') if body_t: - body = html2text(self.browser.parser.tostring(body_t[0])) + body = html2text(self.browser.parser.tostring(body_t[0])).strip() if title and body: if torrent.description is NotLoaded: