From 618cddc4e947924da2a6b472022ce119040fbde9 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sat, 19 Mar 2016 19:09:18 +0000 Subject: [PATCH] Change improve handling when provider PiSexy is missing expected data. --- CHANGES.md | 1 + sickbeard/providers/pisexy.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3b50cf51..ecdc6fa3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -44,6 +44,7 @@ * Update network logos to their current logo * Remove redundant Adult Swim logos * Add scene qualities WEB.h264 to SDTV, 720p.WEB.h264 to WEB DL 720p, and 1080p.WEB.h264 to WEB DL 1080p +* Change improve handling when provider PiSexy is missing expected data ### 0.11.10 (2016-03-17 19:00:00 UTC) diff --git a/sickbeard/providers/pisexy.py b/sickbeard/providers/pisexy.py index 624d5aef..c838aecd 100644 --- a/sickbeard/providers/pisexy.py +++ b/sickbeard/providers/pisexy.py @@ -88,7 +88,7 @@ class PiSexyProvider(generic.TorrentProvider): download_url = self.urls['get'] % str(tr.find('a', href=rc['get'])['href']).lstrip('/') - except (AttributeError, TypeError, ValueError): + except (AttributeError, TypeError, ValueError, IndexError): continue if title and download_url: