summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/EmbeduploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/EmbeduploadCom.py')
-rw-r--r--module/plugins/crypter/EmbeduploadCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/EmbeduploadCom.py b/module/plugins/crypter/EmbeduploadCom.py
index dd0fcb533..2beabcefd 100644
--- a/module/plugins/crypter/EmbeduploadCom.py
+++ b/module/plugins/crypter/EmbeduploadCom.py
@@ -19,7 +19,7 @@ class EmbeduploadCom(Crypter):
LINK_PATTERN = r'<div id="([^"]+)"[^>]*>\s*<a href="([^"]+)" target="_blank" (?:class="DownloadNow"|style="color:red")>'
def decrypt(self, pyfile):
- self.html = self.load(self.pyfile.url, decode=True)
+ self.html = self.load(pyfile.url, decode=True)
tmp_links = []
new_links = []
@@ -39,7 +39,7 @@ class EmbeduploadCom(Crypter):
self.getLocation(tmp_links, new_links)
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')