diff options
Diffstat (limited to 'module/plugins/hoster/FilezyNet.py')
-rw-r--r-- | module/plugins/hoster/FilezyNet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/FilezyNet.py b/module/plugins/hoster/FilezyNet.py index 7c5729c2d..c31707089 100644 --- a/module/plugins/hoster/FilezyNet.py +++ b/module/plugins/hoster/FilezyNet.py @@ -2,6 +2,7 @@ import re from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + class FilezyNet(XFileSharingPro): __name__ = "FilezyNet" __type__ = "hoster" @@ -23,11 +24,12 @@ class FilezyNet(XFileSharingPro): self.logDebug("Getting download link") data = self.getPostParameters() - self.html = self.load(self.pyfile.url, post = data, ref = True, decode = True) + self.html = self.load(self.pyfile.url, post=data, ref=True, decode=True) obfuscated_js = re.search(self.DOWNLOAD_JS_PATTERN, self.html) dl_file_now = self.js.eval(obfuscated_js.group(1)) link = re.search(self.DIRECT_LINK_PATTERN, dl_file_now) return link.group(1) + getInfo = create_getInfo(FilezyNet) |