summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DDLMusicOrg.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 01:54:58 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 02:27:36 +0200
commit1047c706d41dec4a49a747496c2ec01ed3bf7801 (patch)
treecd369358c18bc19090a3cc2d8c63e796bf5d9be6 /module/plugins/crypter/DDLMusicOrg.py
parent[LinkSaveIn] Now SimpleCrypter based (diff)
downloadpyload-1047c706d41dec4a49a747496c2ec01ed3bf7801.tar.xz
Use load instead req.load in all crypters and CaptchaService
Diffstat (limited to 'module/plugins/crypter/DDLMusicOrg.py')
-rw-r--r--module/plugins/crypter/DDLMusicOrg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/DDLMusicOrg.py b/module/plugins/crypter/DDLMusicOrg.py
index f5e7203d3..9d76bf11a 100644
--- a/module/plugins/crypter/DDLMusicOrg.py
+++ b/module/plugins/crypter/DDLMusicOrg.py
@@ -23,7 +23,7 @@ class DDLMusicOrg(Crypter):
self.multiDL = False
def decrypt(self, pyfile):
- html = self.req.load(pyfile.url, cookies=True)
+ html = self.load(pyfile.url, cookies=True)
if re.search(r"Wer dies nicht rechnen kann", html) is not None:
self.offline()
@@ -38,7 +38,7 @@ class DDLMusicOrg(Crypter):
else:
solve = int(math.group(1)) - int(math.group(3))
sleep(3)
- htmlwithlink = self.req.load(pyfile.url, cookies=True,
+ htmlwithlink = self.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)