NZBClub returning wrong url. fixes #116
This commit is contained in:
@@ -68,8 +68,8 @@ class NZBClub(NZBProvider, RSS):
|
|||||||
'name': toUnicode(self.getTextElement(nzb, "title")),
|
'name': toUnicode(self.getTextElement(nzb, "title")),
|
||||||
'age': self.calculateAge(int(time.mktime(parse(date).timetuple()))),
|
'age': self.calculateAge(int(time.mktime(parse(date).timetuple()))),
|
||||||
'size': tryInt(size) / 1024 / 1024,
|
'size': tryInt(size) / 1024 / 1024,
|
||||||
'url': enclosure['url'],
|
'url': enclosure['url'].replace(' ', '_'),
|
||||||
'download': enclosure['url'].replace(' ', '_'),
|
'download': self.download,
|
||||||
'detail_url': self.getTextElement(nzb, "link"),
|
'detail_url': self.getTextElement(nzb, "link"),
|
||||||
'description': description,
|
'description': description,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user