summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/VeohCom.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/VeohCom.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/VeohCom.py')
-rw-r--r--module/plugins/hoster/VeohCom.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hoster/VeohCom.py b/module/plugins/hoster/VeohCom.py
index 57b24623b..fc7e6c318 100644
--- a/module/plugins/hoster/VeohCom.py
+++ b/module/plugins/hoster/VeohCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class VeohCom(SimpleHoster):
__name__ = "VeohCom"
__type__ = "hoster"
- __version__ = "0.22"
+ __version__ = "0.23"
__pattern__ = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)'
__config__ = [("use_premium", "bool" , "Use premium account if available", True ),
@@ -28,13 +28,13 @@ class VeohCom(SimpleHoster):
def setup(self):
- self.resumeDownload = True
- self.multiDL = True
- self.chunkLimit = -1
+ self.resume_download = True
+ self.multi_dl = True
+ self.chunk_limit = -1
- def handleFree(self, pyfile):
- quality = self.getConfig('quality')
+ def handle_free(self, pyfile):
+ quality = self.get_config('quality')
if quality == "Auto":
quality = ("High", "Low")
@@ -46,7 +46,7 @@ class VeohCom(SimpleHoster):
self.link = m.group(1).replace("\\", "")
return
else:
- self.logInfo(_("No %s quality video found") % q.upper())
+ self.log_info(_("No %s quality video found") % q.upper())
else:
self.fail(_("No video found!"))