summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DDLMusicOrg.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/DDLMusicOrg.py')
-rw-r--r--module/plugins/crypter/DDLMusicOrg.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/DDLMusicOrg.py b/module/plugins/crypter/DDLMusicOrg.py
index 16ab63594..1e8503a5a 100644
--- a/module/plugins/crypter/DDLMusicOrg.py
+++ b/module/plugins/crypter/DDLMusicOrg.py
@@ -19,7 +19,7 @@ class DDLMusicOrg(Crypter):
self.multiDL = False
def decrypt(self, pyfile):
- html = self.req.load(self.pyfile.url, cookies=True)
+ html = self.req.load(pyfile.url, cookies=True)
if re.search(r"Wer dies nicht rechnen kann", html) is not None:
self.offline()
@@ -34,11 +34,11 @@ class DDLMusicOrg(Crypter):
else:
solve = int(math.group(1)) - int(math.group(3))
sleep(3)
- htmlwithlink = self.req.load(self.pyfile.url, cookies=True,
+ htmlwithlink = self.req.load(pyfile.url, cookies=True,
post={"calc%s" % linknr: solve, "send%s" % linknr: "Send", "id": id,
"linknr": linknr})
m = re.search(r"<form id=\"ff\" action=\"(.*?)\" method=\"post\">", htmlwithlink)
if m:
- self.packages.append((self.pyfile.package().name, [m.group(1)], self.pyfile.package().folder))
+ self.packages.append((pyfile.package().name, [m.group(1)], pyfile.package().folder))
else:
self.retry()