summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/QuickshareCzFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/QuickshareCzFolder.py')
-rw-r--r--module/plugins/crypter/QuickshareCzFolder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/QuickshareCzFolder.py b/module/plugins/crypter/QuickshareCzFolder.py
index c3a7e0ec6..6a4f7d5b4 100644
--- a/module/plugins/crypter/QuickshareCzFolder.py
+++ b/module/plugins/crypter/QuickshareCzFolder.py
@@ -17,7 +17,7 @@ class QuickshareCzFolder(Crypter):
LINK_PATTERN = r'(http://www.quickshare.cz/\S+)'
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 QuickshareCzFolder(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')