summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/NowVideoSx.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
commit486adc1874e463b1563ad2394b216faff388b10d (patch)
tree58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/hoster/NowVideoSx.py
parentFix https://github.com/pyload/pyload/issues/1349 (diff)
downloadpyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/hoster/NowVideoSx.py')
-rw-r--r--pyload/plugin/hoster/NowVideoSx.py18
1 files changed, 9 insertions, 9 deletions
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<ID>\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<ID>\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<ID>')]
+ URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.nowvideo.sx/video/\g<ID>')]
NAME_PATTERN = r'<h4>(?P<N>.+?)<'
OFFLINE_PATTERN = r'>This file no longer exists'