Commit 016c646b authored by Gosku's avatar Gosku
Browse files

Fix name of attribute that newsznab returns

parent 7528ea82
......@@ -423,7 +423,7 @@ class NewznabCache(tvcache.TVCache):
tvrageid = 0
for attr in item['newznab_attr'] if isinstance(item['newznab_attr'], list) else [item['newznab_attr']]:
if attr['name'] == 'tvrageid':
if attr['name'] == 'tvrageid' or attr['name'] == 'rageid':
tvrageid = int(attr['value'] or 0)
break
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment