Merge pull request #605 from JackDandy/feature/ChangeProvTtN

Change improve parsing from provider TtN.
This commit is contained in:
JackDandy 2016-01-09 15:27:29 +00:00
commit 4de0d9a3c2

View file

@ -77,7 +77,7 @@ class TransmithenetProvider(generic.TorrentProvider):
cnt = len(items[mode])
try:
for item in data_json['response']['results']:
for item in data_json['response'].get('results', []):
if self.freeleech and not item.get('isFreeleech'):
continue