summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-20 02:10:06 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-20 02:21:16 +0200
commit99fcb5c59bcb95311e0eb2213bcf23943d57769c (patch)
tree619f6a5ecdd82c9155e3a5418d087affddc5db70 /module/plugins/crypter
parent[XFSPAccount] Fixed broken login due missing HOSTER_URL (diff)
downloadpyload-99fcb5c59bcb95311e0eb2213bcf23943d57769c.tar.xz
[SafelinkingNet] Better way to retrieve password
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/SafelinkingNet.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/crypter/SafelinkingNet.py b/module/plugins/crypter/SafelinkingNet.py
index 33b3d73ab..9ef4529cb 100644
--- a/module/plugins/crypter/SafelinkingNet.py
+++ b/module/plugins/crypter/SafelinkingNet.py
@@ -38,14 +38,12 @@ class SafelinkingNet(Crypter):
self.fail("Couldn't find forwarded Link")
else:
- password = ""
postData = {"post-protect": "1"}
self.html = self.load(url)
if "link-password" in self.html:
- password = pyfile.package().password
- postData['link-password'] = password
+ postData['link-password'] = self.getPassword()
if "altcaptcha" in self.html:
for _ in xrange(5):