From 7267c88a89e30e33cdaf18d74e276b1f24c5568a Mon Sep 17 00:00:00 2001
From: supergonkas <duramato@users.noreply.github.com>
Date: Fri, 8 Jan 2016 23:09:24 +0000
Subject: [PATCH] Make size follow standarts

---
 sickbeard/providers/freshontv.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sickbeard/providers/freshontv.py b/sickbeard/providers/freshontv.py
index fbc2a74e2..425a2875a 100644
--- a/sickbeard/providers/freshontv.py
+++ b/sickbeard/providers/freshontv.py
@@ -200,7 +200,8 @@ class FreshOnTVProvider(TorrentProvider): # pylint: disable=too-many-instance-at
                                     download_url = self.urls['download'] % (str(torrent_id))
                                     seeders = try_int(individual_torrent.find('td', {'class': 'table_seeders'}).find('span').text.strip(), 1)
                                     leechers = try_int(individual_torrent.find('td', {'class': 'table_leechers'}).find('a').text.strip(), 0)
-                                    size = convert_size(individual_torrent.find('td', {'class': 'table_size'}).text.strip()) or -1
+                                    torrent_size = individual_torrent.find('td', {'class': 'table_size'}).get_text()
+                                    size = convert_size(torrent_size) or -1
                                 except Exception:
                                     continue
 
-- 
GitLab