summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/VimeoCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
commitce103ce1e60661f7bcdf6a033335134de61d48b1 (patch)
tree29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/hoster/VimeoCom.py
parent.min.css -> .css (diff)
downloadpyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz
Prepare to merging
Diffstat (limited to 'pyload/plugin/hoster/VimeoCom.py')
-rw-r--r--pyload/plugin/hoster/VimeoCom.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/VimeoCom.py b/pyload/plugin/hoster/VimeoCom.py
index a72333b96..c48ad3414 100644
--- a/pyload/plugin/hoster/VimeoCom.py
+++ b/pyload/plugin/hoster/VimeoCom.py
@@ -6,24 +6,24 @@ 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 = [("quality", "Lowest;Mobile;SD;HD;Highest", "Quality", "Highest"),
+ __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)]
- __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")]