From 13bef2b92d5deebf1afe795ca7f1f94818f902d6 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 25 Aug 2014 17:35:53 +0800 Subject: [PATCH] Fix for torrentbytes provider where torrentid is <6 characters long --- sickbeard/providers/torrentbytes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/providers/torrentbytes.py b/sickbeard/providers/torrentbytes.py index e0013808..d8f646cb 100644 --- a/sickbeard/providers/torrentbytes.py +++ b/sickbeard/providers/torrentbytes.py @@ -184,7 +184,7 @@ class TorrentBytesProvider(generic.TorrentProvider): link = cells[1].find('a', attrs={'class': 'index'}) full_id = link['href'].replace('details.php?id=', '') - torrent_id = full_id[:6] + torrent_id = full_id.split("&")[0] try: if link.has_key('title'):