summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/FilezyNet.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 20:50:34 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 21:20:06 +0200
commitaaaf5a4cddec894aacd7400c59a9f2f5e710362f (patch)
tree9d9e89aff86598b3ffcc86117abd554b193e28b5 /pyload/plugins/hoster/FilezyNet.py
parentimplemented media type filter (diff)
downloadpyload-aaaf5a4cddec894aacd7400c59a9f2f5e710362f.tar.xz
Fixed PEP 8 violations in Hosters
(cherry picked from commit 2edeee0532ec6d6b4b26fd045a5971f67ca455da) Conflicts: pyload/plugins/hoster/BasePlugin.py pyload/plugins/hoster/MultishareCz.py pyload/plugins/hoster/NetloadIn.py pyload/plugins/hoster/PremiumizeMe.py pyload/plugins/hoster/RapidshareCom.py
Diffstat (limited to 'pyload/plugins/hoster/FilezyNet.py')
-rw-r--r--pyload/plugins/hoster/FilezyNet.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/FilezyNet.py b/pyload/plugins/hoster/FilezyNet.py
index 7c5729c2d..c31707089 100644
--- a/pyload/plugins/hoster/FilezyNet.py
+++ b/pyload/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)