From ac01e2568d6ec78c040ef58b771679f91f54a8b9 Mon Sep 17 00:00:00 2001 From: supergonkas <duramato@users.noreply.github.com> Date: Wed, 30 Dec 2015 19:50:45 +0000 Subject: [PATCH] Update limetorrents.py --- sickbeard/providers/limetorrents.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/providers/limetorrents.py b/sickbeard/providers/limetorrents.py index cb5f9f4da..6a73e2d84 100644 --- a/sickbeard/providers/limetorrents.py +++ b/sickbeard/providers/limetorrents.py @@ -91,7 +91,8 @@ class LimeTorrentsProvider(TorrentProvider): # pylint: disable=too-many-instance # ]]> description = item.find('description') seeders = try_int(description.find_all('br')[0].next_sibling.strip().lstrip('Seeds: ')) - leechers = try_int(description.find_all('br')[1].next_sibling.strip().lstrip('Leechers: ')) else: + leechers = try_int(description.find_all('br')[1].next_sibling.strip().lstrip('Leechers: ')) + else: #<description>Seeds: 6982 , Leechers 734</description> description = item.find('description').text.partition(',') seeders = try_int(description[0].lstrip('Seeds: ').strip()) -- GitLab