summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SimplydebridCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/hoster/SimplydebridCom.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/SimplydebridCom.py')
-rw-r--r--module/plugins/hoster/SimplydebridCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/SimplydebridCom.py b/module/plugins/hoster/SimplydebridCom.py
index 5e06bed88..d054a3c54 100644
--- a/module/plugins/hoster/SimplydebridCom.py
+++ b/module/plugins/hoster/SimplydebridCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo, rep
class SimplydebridCom(MultiHoster):
__name__ = "SimplydebridCom"
__type__ = "hoster"
- __version__ = "0.19"
+ __version__ = "0.20"
__pattern__ = r'http://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/sd\.php'
__config__ = [("use_premium" , "bool", "Use premium account if available" , True),
@@ -19,8 +19,8 @@ class SimplydebridCom(MultiHoster):
__authors__ = [("Kagenoshin", "kagenoshin@gmx.ch")]
- def handlePremium(self, pyfile):
- #fix the links for simply-debrid.com!
+ def handle_premium(self, pyfile):
+ # fix the links for simply-debrid.com!
self.link = replace_patterns(pyfile.url, [("clz.to", "cloudzer.net/file")
("http://share-online", "http://www.share-online")
("ul.to", "uploaded.net/file")
@@ -40,8 +40,8 @@ class SimplydebridCom(MultiHoster):
self.wait(5)
- def checkFile(self):
- if self.checkDownload({"error": "No address associated with hostname"}):
+ def check_file(self):
+ if self.check_download({"error": "No address associated with hostname"}):
self.retry(24, 3 * 60, _("Bad file downloaded"))
return super(SimplydebridCom, self).checkFile()