diff options
author | 2015-12-14 16:47:49 +0100 | |
---|---|---|
committer | 2015-12-27 21:22:11 +0100 | |
commit | 8fe2fa85605c091369c8e69b36d1cded2cd9bbe0 (patch) | |
tree | a0d5745b1168fe887568fc6af1004c19ce44f4b6 /module/plugins/hoster/VeohCom.py | |
parent | [ExternalScripts] Update and fix (diff) | |
download | pyload-8fe2fa85605c091369c8e69b36d1cded2cd9bbe0.tar.xz |
Update hosters (1)
Diffstat (limited to 'module/plugins/hoster/VeohCom.py')
-rw-r--r-- | module/plugins/hoster/VeohCom.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/VeohCom.py b/module/plugins/hoster/VeohCom.py index e1d20da31..6f651b4a3 100644 --- a/module/plugins/hoster/VeohCom.py +++ b/module/plugins/hoster/VeohCom.py @@ -2,13 +2,13 @@ import re -from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo +from module.plugins.internal.SimpleHoster import SimpleHoster class VeohCom(SimpleHoster): __name__ = "VeohCom" __type__ = "hoster" - __version__ = "0.25" + __version__ = "0.26" __status__ = "testing" __pattern__ = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)' @@ -38,7 +38,7 @@ class VeohCom(SimpleHoster): def handle_free(self, pyfile): - quality = self.get_config('quality') + quality = self.config.get('quality') if quality == "Auto": quality = ("High", "Low") @@ -53,6 +53,3 @@ class VeohCom(SimpleHoster): self.log_info(_("No %s quality video found") % q.upper()) else: self.fail(_("No video found!")) - - -getInfo = create_getInfo(VeohCom) |