summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/VimeoCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/VimeoCom.py')
-rw-r--r--pyload/plugin/hoster/VimeoCom.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pyload/plugin/hoster/VimeoCom.py b/pyload/plugin/hoster/VimeoCom.py
index c48ad3414..fb6ea094a 100644
--- a/pyload/plugin/hoster/VimeoCom.py
+++ b/pyload/plugin/hoster/VimeoCom.py
@@ -11,8 +11,9 @@ class VimeoCom(SimpleHoster):
__version__ = "0.04"
__pattern__ = r'https?://(?:www\.)?(player\.)?vimeo\.com/(video/)?(?P<ID>\d+)'
- __config__ = [("quality", "Lowest;Mobile;SD;HD;Highest", "Quality", "Highest"),
- ("original", "bool", "Try to download the original file first", True)]
+ __config__ = [("use_premium", "bool" , "Use premium account if available" , True ),
+ ("quality" , "Lowest;Mobile;SD;HD;Highest", "Quality" , "Highest"),
+ ("original" , "bool" , "Try to download the original file", True )]
__description__ = """Vimeo.com hoster plugin"""
__license__ = "GPLv3"
@@ -46,14 +47,14 @@ class VimeoCom(SimpleHoster):
link = dict((l.group('QL').lower(), l.group('URL')) for l in re.finditer(pattern, html))
- if self.getConfig("original"):
+ if self.getConfig('original'):
if "original" in link:
self.download(link[q])
return
else:
self.logInfo(_("Original file not downloadable"))
- quality = self.getConfig("quality")
+ quality = self.getConfig('quality')
if quality == "Highest":
qlevel = ("hd", "sd", "mobile")
elif quality == "Lowest":