summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/VimeoCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-23 04:41:17 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-23 04:41:17 +0100
commit2ca8cc959a587992dc389d6baf71dd3e4f66df1c (patch)
tree16b88f17c04cee67ea78e5ae5b3659a4f8460aad /module/plugins/hoster/VimeoCom.py
parentFix missing create_getInfo in dead crypters (diff)
downloadpyload-2ca8cc959a587992dc389d6baf71dd3e4f66df1c.tar.xz
Fix some URL_REPLACEMENTS
Diffstat (limited to 'module/plugins/hoster/VimeoCom.py')
-rw-r--r--module/plugins/hoster/VimeoCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/VimeoCom.py b/module/plugins/hoster/VimeoCom.py
index 3242185f6..025abf15e 100644
--- a/module/plugins/hoster/VimeoCom.py
+++ b/module/plugins/hoster/VimeoCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class VimeoCom(SimpleHoster):
__name__ = "VimeoCom"
__type__ = "hoster"
- __version__ = "0.02"
+ __version__ = "0.03"
__pattern__ = r'https?://(?:www\.)?(player\.)?vimeo\.com/(video/)?(?P<ID>\d+)'
__config__ = [("quality", "Lowest;Mobile;SD;HD;Highest", "Quality", "Highest"),
@@ -19,11 +19,11 @@ class VimeoCom(SimpleHoster):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- NAME_PATTERN = r'<title>(?P<N>.+) on Vimeo<'
- OFFLINE_PATTERN = r'class="exception_header"'
+ 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")]