diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:26:05 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-11 12:26:05 +0200 |
commit | 4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch) | |
tree | a347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/crypter/CzshareComFolder.py | |
parent | Fix __pattern__ www (diff) | |
download | pyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz |
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/crypter/CzshareComFolder.py')
-rw-r--r-- | module/plugins/crypter/CzshareComFolder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/CzshareComFolder.py b/module/plugins/crypter/CzshareComFolder.py index 500af0bb3..761c9e2bc 100644 --- a/module/plugins/crypter/CzshareComFolder.py +++ b/module/plugins/crypter/CzshareComFolder.py @@ -18,7 +18,7 @@ class CzshareComFolder(Crypter): #NEXT_PAGE_PATTERN = r'<a class="next " href="/([^"]+)"> </a>' def decrypt(self, pyfile): - html = self.load(self.pyfile.url) + html = self.load(pyfile.url) new_links = [] found = re.search(self.FOLDER_PATTERN, html, re.DOTALL) @@ -26,6 +26,6 @@ class CzshareComFolder(Crypter): new_links.extend(re.findall(self.LINK_PATTERN, found.group(1))) if new_links: - self.core.files.addLinks(new_links, self.pyfile.package().id) + self.core.files.addLinks(new_links, pyfile.package().id) else: self.fail('Could not extract any links') |