From fb55da84ef1aef077f8ef22888057638b96fd852 Mon Sep 17 00:00:00 2001 From: Ivo Buff Date: Mon, 12 Aug 2013 13:34:18 +0200 Subject: simplydebrid: "further improvements" added debuglog output of the link we send to simplydebrid changed retrying time of a bad file (we try it every 2.5 min for an hour) --- module/plugins/hoster/SimplydebridCom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py index d13c161e8..35cc3fb02 100644 --- a/module/plugins/hoster/SimplydebridCom.py +++ b/module/plugins/hoster/SimplydebridCom.py @@ -41,6 +41,8 @@ class SimplydebridCom(Hoster): if re.match(self.__pattern__, new_url): new_url = new_url + self.logDebug("New URL: %s" % new_url) + if not re.match(self.__pattern__, new_url): page = self.load('http://simply-debrid.com/api.php', get={'dl': new_url}) #+'&u='+self.user+'&p='+self.account.getAccountData(self.user)['password']) if 'tiger Link' in page or 'Invalid Link' in page or ('API' in page and 'ERROR' in page): @@ -56,4 +58,4 @@ class SimplydebridCom(Hoster): check = self.checkDownload({"bad1": "No address associated with hostname", "bad2": "