diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
commit | 486adc1874e463b1563ad2394b216faff388b10d (patch) | |
tree | 58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/hoster/VeohCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/1349 (diff) | |
download | pyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz |
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/hoster/VeohCom.py')
-rw-r--r-- | pyload/plugin/hoster/VeohCom.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/VeohCom.py b/pyload/plugin/hoster/VeohCom.py index 2571bf800..0fa118355 100644 --- a/pyload/plugin/hoster/VeohCom.py +++ b/pyload/plugin/hoster/VeohCom.py @@ -6,23 +6,23 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class VeohCom(SimpleHoster): - __name = "VeohCom" - __type = "hoster" - __version = "0.22" + __name__ = "VeohCom" + __type__ = "hoster" + __version__ = "0.22" - __pattern = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)' - __config = [("use_premium", "bool" , "Use premium account if available", True ), + __pattern__ = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)' + __config__ = [("use_premium", "bool" , "Use premium account if available", True ), ("quality" , "Low;High;Auto", "Quality" , "Auto")] - __description = """Veoh.com hoster plugin""" - __license = "GPLv3" - __authors = [("Walter Purcaro", "vuolter@gmail.com")] + __description__ = """Veoh.com hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] 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")] |