diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 04:41:17 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 04:41:17 +0100 |
commit | 2ca8cc959a587992dc389d6baf71dd3e4f66df1c (patch) | |
tree | 16b88f17c04cee67ea78e5ae5b3659a4f8460aad /module/plugins/hoster/VeohCom.py | |
parent | Fix missing create_getInfo in dead crypters (diff) | |
download | pyload-2ca8cc959a587992dc389d6baf71dd3e4f66df1c.tar.xz |
Fix some URL_REPLACEMENTS
Diffstat (limited to 'module/plugins/hoster/VeohCom.py')
-rw-r--r-- | module/plugins/hoster/VeohCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/VeohCom.py b/module/plugins/hoster/VeohCom.py index 9a8fd830f..8f434203d 100644 --- a/module/plugins/hoster/VeohCom.py +++ b/module/plugins/hoster/VeohCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class VeohCom(SimpleHoster): __name__ = "VeohCom" __type__ = "hoster" - __version__ = "0.2" + __version__ = "0.21" __pattern__ = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)' __config__ = [("quality", "Low;High;Auto", "Quality", "Auto")] @@ -18,10 +18,10 @@ class VeohCom(SimpleHoster): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - NAME_PATTERN = r'<meta name="title" content="(?P<N>.*?)"' + NAME_PATTERN = r'<meta name="title" content="(?P<N>.*?)"' OFFLINE_PATTERN = r'>Sorry, we couldn\'t find the video you were looking for' - URL_REPLACEMENTS = [(__pattern__, r'http://www.veoh.com/watch/\g<ID>')] + URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.veoh.com/watch/\g<ID>')] COOKIES = [("veoh.com", "lassieLocale", "en")] |