From 984ffe38bf106bb7fc83c70546f7a3a8889bba89 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 20 Apr 2012 20:56:52 +0200 Subject: [PATCH] NZBClub returning wrong url. fixes #116 --- couchpotato/core/providers/nzb/nzbclub/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/providers/nzb/nzbclub/main.py b/couchpotato/core/providers/nzb/nzbclub/main.py index 07ae2c2d..1e2b7d98 100644 --- a/couchpotato/core/providers/nzb/nzbclub/main.py +++ b/couchpotato/core/providers/nzb/nzbclub/main.py @@ -68,8 +68,8 @@ class NZBClub(NZBProvider, RSS): 'name': toUnicode(self.getTextElement(nzb, "title")), 'age': self.calculateAge(int(time.mktime(parse(date).timetuple()))), 'size': tryInt(size) / 1024 / 1024, - 'url': enclosure['url'], - 'download': enclosure['url'].replace(' ', '_'), + 'url': enclosure['url'].replace(' ', '_'), + 'download': self.download, 'detail_url': self.getTextElement(nzb, "link"), 'description': description, }