From c3b406a00aba3fa549676a8181a5eb2a99d77c87 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 26 Mar 2015 18:29:00 +0100 Subject: Revert ce103ce1e60661f7bcdf6a033335134de61d48b1 --- 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 3501c5219..9032cea87 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