summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/VeohCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/VeohCom.py')
-rw-r--r--module/plugins/hoster/VeohCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/VeohCom.py b/module/plugins/hoster/VeohCom.py
index 7a7c4fa01..423db2dbe 100644
--- a/module/plugins/hoster/VeohCom.py
+++ b/module/plugins/hoster/VeohCom.py
@@ -6,13 +6,14 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class VeohCom(SimpleHoster):
- __name = "VeohCom"
+ __name__ = "VeohCom"
__type__ = "hoster"
__version__ = "0.23"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?veoh\.com/(tv/)?(watch|videos)/(?P<ID>v\w+)'
- __config__ = [("use_premium", "bool" , "Use premium account if available", True ),
+ __config__ = [("activated", "bool", "Activated", True),
+ ("use_premium", "bool" , "Use premium account if available", True ),
("quality" , "Low;High;Auto", "Quality" , "Auto")]
__description__ = """Veoh.com hoster plugin"""
@@ -23,7 +24,7 @@ class VeohCom(SimpleHoster):
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")]