Removed excess tags from title
Now only adds "Source", "Video Format", "Audio Format", and "Language"
This commit is contained in:
@@ -94,8 +94,10 @@ class Newzbin(NZBProvider, RSS):
|
|||||||
|
|
||||||
# Add attributes to name
|
# Add attributes to name
|
||||||
try:
|
try:
|
||||||
|
use_attr = ['Source', 'Video Fmt', 'Audio Fmt', 'Language']
|
||||||
for attr in nzb.find('{%s}attributes' % REPORT_NS):
|
for attr in nzb.find('{%s}attributes' % REPORT_NS):
|
||||||
title += ' ' + attr.text
|
if attr.get("type") in use_attr:
|
||||||
|
title += ' ' + attr.text
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user