mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Change improve handling when provider PiSexy is missing expected data.
This commit is contained in:
parent
6e6aada90b
commit
618cddc4e9
2 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@
|
||||||
* Update network logos to their current logo
|
* Update network logos to their current logo
|
||||||
* Remove redundant Adult Swim logos
|
* 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
|
* 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)
|
### 0.11.10 (2016-03-17 19:00:00 UTC)
|
||||||
|
|
|
@ -88,7 +88,7 @@ class PiSexyProvider(generic.TorrentProvider):
|
||||||
|
|
||||||
download_url = self.urls['get'] % str(tr.find('a', href=rc['get'])['href']).lstrip('/')
|
download_url = self.urls['get'] % str(tr.find('a', href=rc['get'])['href']).lstrip('/')
|
||||||
|
|
||||||
except (AttributeError, TypeError, ValueError):
|
except (AttributeError, TypeError, ValueError, IndexError):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if title and download_url:
|
if title and download_url:
|
||||||
|
|
Loading…
Reference in a new issue