summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NovafileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:21:37 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:21:37 +0200
commit02e1638896c073f5d1c904a3e611d09298df79fa (patch)
treebaef9d74b16b4a3792304b6d89447b1e4a548867 /module/plugins/hoster/NovafileCom.py
parentUse re.match for __pattern__ matches instead re.search (diff)
downloadpyload-02e1638896c073f5d1c904a3e611d09298df79fa.tar.xz
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
Diffstat (limited to 'module/plugins/hoster/NovafileCom.py')
-rw-r--r--module/plugins/hoster/NovafileCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/NovafileCom.py b/module/plugins/hoster/NovafileCom.py
index eb81e44bb..d4e37025e 100644
--- a/module/plugins/hoster/NovafileCom.py
+++ b/module/plugins/hoster/NovafileCom.py
@@ -16,13 +16,13 @@ class NovafileCom(XFileSharingPro):
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
+ HOSTER_NAME = "novafile.com"
+
FILE_SIZE_PATTERN = r'<div class="size">(?P<S>.+?)</div>'
ERROR_PATTERN = r'class="alert[^"]*alert-separate"[^>]*>\s*(?:<p>)?(.*?)\s*</'
DIRECT_LINK_PATTERN = r'<a href="(http://s\d+\.novafile\.com/.*?)" class="btn btn-green">Download File</a>'
WAIT_PATTERN = r'<p>Please wait <span id="count"[^>]*>(\d+)</span> seconds</p>'
- HOSTER_NAME = "novafile.com"
-
def setup(self):
self.multiDL = False