summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/FileserveComFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:26:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:26:05 +0200
commit4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch)
treea347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/crypter/FileserveComFolder.py
parentFix __pattern__ www (diff)
downloadpyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/crypter/FileserveComFolder.py')
-rw-r--r--module/plugins/crypter/FileserveComFolder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/FileserveComFolder.py b/module/plugins/crypter/FileserveComFolder.py
index e6fbcdf9d..3c4048f79 100644
--- a/module/plugins/crypter/FileserveComFolder.py
+++ b/module/plugins/crypter/FileserveComFolder.py
@@ -18,7 +18,7 @@ class FileserveComFolder(Crypter):
LINK_PATTERN = r'<a href="([^"]+)" class="sheet_icon wbold">'
def decrypt(self, pyfile):
- html = self.load(self.pyfile.url)
+ html = self.load(pyfile.url)
new_links = []
@@ -28,6 +28,6 @@ class FileserveComFolder(Crypter):
new_links.extend(re.findall(self.LINK_PATTERN, folder.group(1)))
if new_links:
- self.core.files.addLinks(map(lambda s: "http://fileserve.com%s" % s, new_links), self.pyfile.package().id)
+ self.core.files.addLinks(map(lambda s: "http://fileserve.com%s" % s, new_links), pyfile.package().id)
else:
self.fail('Could not extract any links')