From f82e2a3e6e586e3d30287fc90bb46d5c1fbd4f25 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 21 Sep 2012 12:38:38 +0200 Subject: [PATCH] Limit sabnzbd history check. --- couchpotato/core/downloaders/sabnzbd/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/downloaders/sabnzbd/main.py b/couchpotato/core/downloaders/sabnzbd/main.py index abff97d7..cd5b5047 100644 --- a/couchpotato/core/downloaders/sabnzbd/main.py +++ b/couchpotato/core/downloaders/sabnzbd/main.py @@ -100,6 +100,7 @@ class Sabnzbd(Downloader): params = { 'apikey': self.conf('api_key'), 'mode': 'history', + 'limit': 15, 'output': 'json' } url = cleanHost(self.conf('host')) + "api?" + tryUrlencode(params)