summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LinkdecrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
commitff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch)
tree78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/crypter/LinkdecrypterCom.py
parentFix addons (diff)
downloadpyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz
Code cosmetics (3)
Diffstat (limited to 'module/plugins/crypter/LinkdecrypterCom.py')
-rw-r--r--module/plugins/crypter/LinkdecrypterCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/LinkdecrypterCom.py b/module/plugins/crypter/LinkdecrypterCom.py
index b56a1dd57..676b1f7cc 100644
--- a/module/plugins/crypter/LinkdecrypterCom.py
+++ b/module/plugins/crypter/LinkdecrypterCom.py
@@ -34,7 +34,7 @@ class LinkdecrypterCom(Crypter):
def decrypt(self, pyfile):
retries = 5
- post_dict = {"link_cache": "on", "pro_links": pyfile.url, "modo_links": "text"}
+ post_dict = {'link_cache': "on", 'pro_links': pyfile.url, 'modo_links': "text"}
self.html = self.load('http://linkdecrypter.com/', post=post_dict)
while retries:
@@ -54,7 +54,7 @@ class LinkdecrypterCom(Crypter):
captcha = self.decrypt_captcha(captcha_url, result_type=result_type)
if result_type == "positional":
captcha = "%d|%d" % captcha
- self.html = self.load('http://linkdecrypter.com/', post={"captcha": captcha})
+ self.html = self.load('http://linkdecrypter.com/', post={'captcha': captcha})
retries -= 1
elif self.PASSWORD_PATTERN in self.html: