Change improve parsing from provider TtN.

This commit is contained in:
JackDandy 2016-01-09 15:20:18 +00:00
parent 1d3cbb7332
commit e4c3557d6b

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