summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-02 02:39:54 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-02 02:39:54 +0100
commita6b9146916a3c2cf45e376ca80b08db5b71eb20b (patch)
tree33086afdac03d9f9308c71a49282ace102c01f21 /module/plugins/crypter
parent[PremiumTo] Fixup (diff)
downloadpyload-a6b9146916a3c2cf45e376ca80b08db5b71eb20b.tar.xz
[FilecryptCc] Fix handlePasswordProtection
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/FilecryptCc.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py
index 59960ab24..726389ca1 100644
--- a/module/plugins/crypter/FilecryptCc.py
+++ b/module/plugins/crypter/FilecryptCc.py
@@ -14,7 +14,7 @@ from module.plugins.internal.CaptchaService import ReCaptcha
class FilecryptCc(Crypter):
__name__ = "FilecryptCc"
__type__ = "crypter"
- __version__ = "0.08"
+ __version__ = "0.09"
__pattern__ = r'https?://(?:www\.)?filecrypt\.cc/Container/\w+'
@@ -73,10 +73,12 @@ class FilecryptCc(Crypter):
self.logInfo(_("Folder is password protected"))
- if not self.pyfile.package().password:
+ password = self.getPassword()
+
+ if not password:
self.fail(_("Please enter the password in package section and try again"))
- self.html = self.load(self.pyfile.url, post={"password": self.password}, cookies=True)
+ self.html = self.load(self.pyfile.url, post={"password": password}, cookies=True)
def handleCaptcha(self):