summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YadiSk.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/YadiSk.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/YadiSk.py')
-rw-r--r--module/plugins/hoster/YadiSk.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hoster/YadiSk.py b/module/plugins/hoster/YadiSk.py
index 3b4c9d985..5c0c1a800 100644
--- a/module/plugins/hoster/YadiSk.py
+++ b/module/plugins/hoster/YadiSk.py
@@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class YadiSk(SimpleHoster):
__name__ = "YadiSk"
__type__ = "hoster"
- __version__ = "0.05"
+ __version__ = "0.06"
__pattern__ = r'https?://yadi\.sk/d/[\w-]+'
@@ -23,8 +23,8 @@ class YadiSk(SimpleHoster):
@classmethod
- def getInfo(cls, url="", html=""):
- info = super(YadiSk, cls).getInfo(url, html)
+ def get_info(cls, url="", html=""):
+ info = super(YadiSk, cls).get_info(url, html)
if html:
if 'idclient' not in info:
@@ -59,12 +59,12 @@ class YadiSk(SimpleHoster):
def setup(self):
- self.resumeDownload = False
- self.multiDL = False
- self.chunkLimit = 1
+ self.resume_download = False
+ self.multi_dl = False
+ self.chunk_limit = 1
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
if any(True for _k in ['id', 'sk', 'version', 'idclient'] if _k not in self.info):
self.error(_("Missing JSON data"))