mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-22 01:23:43 +00:00
Merge pull request #605 from JackDandy/feature/ChangeProvTtN
Change improve parsing from provider TtN.
This commit is contained in:
commit
4de0d9a3c2
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