mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 02:53:38 +00:00
Change improve parsing from provider TtN.
This commit is contained in:
parent
1d3cbb7332
commit
e4c3557d6b
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class TransmithenetProvider(generic.TorrentProvider):
|
||||||
|
|
||||||
cnt = len(items[mode])
|
cnt = len(items[mode])
|
||||||
try:
|
try:
|
||||||
for item in data_json['response']['results']:
|
for item in data_json['response'].get('results', []):
|
||||||
if self.freeleech and not item.get('isFreeleech'):
|
if self.freeleech and not item.get('isFreeleech'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue