summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NovafileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:49:18 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:49:18 +0100
commitf26faa7a68f645f8664874f4ff361caf8503d651 (patch)
tree64316a82d887949cca724a6d2c685babb6361e73 /module/plugins/hoster/NovafileCom.py
parent[XFSHoster] Improve NAME_PATTERN & SIZE_PATTERN (diff)
downloadpyload-f26faa7a68f645f8664874f4ff361caf8503d651.tar.xz
Update plugins after XFSHoster changes
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 5c4dfddca..9754ceed1 100644
--- a/module/plugins/hoster/NovafileCom.py
+++ b/module/plugins/hoster/NovafileCom.py
@@ -22,10 +22,10 @@ class NovafileCom(XFSHoster):
HOSTER_DOMAIN = "novafile.com"
- SIZE_PATTERN = r'<div class="size">(?P<S>.+?)</div>'
ERROR_PATTERN = r'class="alert[^"]*alert-separate"[^>]*>\s*(?:<p>)?(.*?)\s*</'
+ WAIT_PATTERN = r'<p>Please wait <span id="count"[^>]*>(\d+)</span> seconds</p>'
+
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>'
getInfo = create_getInfo(NovafileCom)