From 486adc1874e463b1563ad2394b216faff388b10d Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 08:21:50 +0200 Subject: Prepare plugins to merging from stable --- pyload/plugin/hoster/NowVideoSx.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pyload/plugin/hoster/NowVideoSx.py') diff --git a/pyload/plugin/hoster/NowVideoSx.py b/pyload/plugin/hoster/NowVideoSx.py index 9032cea87..3501c5219 100644 --- a/pyload/plugin/hoster/NowVideoSx.py +++ b/pyload/plugin/hoster/NowVideoSx.py @@ -6,19 +6,19 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class NowVideoSx(SimpleHoster): - __name = "NowVideoSx" - __type = "hoster" - __version = "0.12" + __name__ = "NowVideoSx" + __type__ = "hoster" + __version__ = "0.12" - __pattern = r'http://(?:www\.)?nowvideo\.[a-zA-Z]{2,}/(video/|mobile/(#/videos/|.+?id=))(?P\w+)' - __config = [("use_premium", "bool", "Use premium account if available", True)] + __pattern__ = r'http://(?:www\.)?nowvideo\.[a-zA-Z]{2,}/(video/|mobile/(#/videos/|.+?id=))(?P\w+)' + __config__ = [("use_premium", "bool", "Use premium account if available", True)] - __description = """NowVideo.sx hoster plugin""" - __license = "GPLv3" - __authors = [("Walter Purcaro", "vuolter@gmail.com")] + __description__ = """NowVideo.sx hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - URL_REPLACEMENTS = [(__pattern + ".*", r'http://www.nowvideo.sx/video/\g')] + URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.nowvideo.sx/video/\g')] NAME_PATTERN = r'

(?P.+?)<' OFFLINE_PATTERN = r'>This file no longer exists' -- cgit v1.2.3