summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/MultiloadCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/MultiloadCz.py')
-rw-r--r--pyload/plugins/crypter/MultiloadCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/crypter/MultiloadCz.py b/pyload/plugins/crypter/MultiloadCz.py
index 6cc9a1171..d51a7821b 100644
--- a/pyload/plugins/crypter/MultiloadCz.py
+++ b/pyload/plugins/crypter/MultiloadCz.py
@@ -19,10 +19,10 @@ class MultiloadCz(Crypter):
LINK_PATTERN = r'<p class="manager-server"><strong>([^<]+)</strong></p><p class="manager-linky"><a href="([^"]+)">'
def decrypt(self, pyfile):
- self.html = self.load(self.pyfile.url, decode=True)
+ self.html = self.load(pyfile.url, decode=True)
new_links = []
- if re.match(self.__pattern__, self.pyfile.url).group(1) == "slozka":
+ if re.match(self.__pattern__, pyfile.url).group(1) == "slozka":
found = re.search(self.FOLDER_PATTERN, self.html)
if found is not None:
new_links.extend(found.group(1).split())
@@ -37,6 +37,6 @@ class MultiloadCz(Crypter):
new_links.extend([x[1] for x in found if x[0] not in ignored_set])
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')