diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:29:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:29:55 +0200 |
commit | d60040cdc406b0541f0b3f9681a09894f845ba2b (patch) | |
tree | 69be3f4730c9ef4cf9f98f5b9ae17157a88abc85 /pyload/plugin/hoster/VimeoCom.py | |
parent | Cleanup + fixup + new lib (diff) | |
download | pyload-d60040cdc406b0541f0b3f9681a09894f845ba2b.tar.xz |
Diffstat (limited to 'pyload/plugin/hoster/VimeoCom.py')
-rw-r--r-- | pyload/plugin/hoster/VimeoCom.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/VimeoCom.py b/pyload/plugin/hoster/VimeoCom.py index 47ce0de4e..f83e15815 100644 --- a/pyload/plugin/hoster/VimeoCom.py +++ b/pyload/plugin/hoster/VimeoCom.py @@ -6,25 +6,25 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class VimeoCom(SimpleHoster): - __name__ = "VimeoCom" - __type__ = "hoster" - __version__ = "0.04" + __name = "VimeoCom" + __type = "hoster" + __version = "0.04" - __pattern__ = r'https?://(?:www\.)?(player\.)?vimeo\.com/(video/)?(?P<ID>\d+)' - __config__ = [("use_premium", "bool" , "Use premium account if available" , True ), + __pattern = r'https?://(?:www\.)?(player\.)?vimeo\.com/(video/)?(?P<ID>\d+)' + __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" - __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + __description = """Vimeo.com hoster plugin""" + __license = "GPLv3" + __authors = [("Walter Purcaro", "vuolter@gmail.com")] NAME_PATTERN = r'<title>(?P<N>.+) on Vimeo<' OFFLINE_PATTERN = r'class="exception_header"' TEMP_OFFLINE_PATTERN = r'Please try again in a few minutes.<' - URL_REPLACEMENTS = [(__pattern__ + ".*", r'https://www.vimeo.com/\g<ID>')] + URL_REPLACEMENTS = [(__pattern + ".*", r'https://www.vimeo.com/\g<ID>')] COOKIES = [("vimeo.com", "language", "en")] |