summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-08-13 14:33:18 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-08-13 14:33:18 +0200
commit0c77909e532faa9a16337b902c12619486cf8b39 (patch)
treec69830e4bada08a7bd8acd1657847627f660dada /module/plugins/hoster
parentSimplydebrid: added new line (diff)
downloadpyload-0c77909e532faa9a16337b902c12619486cf8b39.tar.xz
Simplydebrid: cosmetics
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/SimplydebridCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py
index 03396cc27..67cc39255 100644
--- a/module/plugins/hoster/SimplydebridCom.py
+++ b/module/plugins/hoster/SimplydebridCom.py
@@ -22,7 +22,7 @@ class SimplydebridCom(Hoster):
def process(self, pyfile):
if not self.account:
- self.logError(_("Please enter your simply-debrid.com account or deactivate this plugin"))
+ self.logError(_("Please enter your %s account or deactivate this plugin") % "simply-debrid.com")
self.fail("No simply-debrid.com account provided")
self.logDebug("Old URL: %s" % pyfile.url)
@@ -37,12 +37,12 @@ class SimplydebridCom(Hoster):
new_url = new_url.replace("lumfile.com", "lumfile.se")
if('fileparadox' in new_url):
new_url = new_url.replace("http://", "https://")
-
+
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):