diff options
Diffstat (limited to 'module/plugins/crypter/FilecryptCc.py')
| -rw-r--r-- | module/plugins/crypter/FilecryptCc.py | 12 | 
1 files changed, 5 insertions, 7 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py index d15d2ae4b..baea8886b 100644 --- a/module/plugins/crypter/FilecryptCc.py +++ b/module/plugins/crypter/FilecryptCc.py @@ -39,7 +39,7 @@ class FilecryptCc(Crypter):      def decrypt(self, pyfile): -        self.html = self.load(pyfile.url, cookies=True) +        self.html = self.load(pyfile.url)          if "content notfound" in self.html:  #@NOTE: "content notfound" is NOT a typo              self.offline() @@ -64,7 +64,7 @@ class FilecryptCc(Crypter):          self.logInfo(_("Found %d mirrors") % len(mirror))          for i in mirror[1:]: -            self.siteWithLinks = self.siteWithLinks + self.load(i, cookies=True).decode("utf-8", "replace") +            self.siteWithLinks = self.siteWithLinks + self.load(i).decode("utf-8", "replace")      def handlePasswordProtection(self): @@ -78,7 +78,7 @@ class FilecryptCc(Crypter):          if not password:              self.fail(_("Please enter the password in package section and try again")) -        self.html = self.load(self.pyfile.url, post={"password": password}, cookies=True) +        self.html = self.load(self.pyfile.url, post={"password": password})      def handleCaptcha(self): @@ -94,7 +94,6 @@ class FilecryptCc(Crypter):              self.siteWithLinks = self.load(self.pyfile.url,                                             post={'recaptcha_response_field': captcha_code}, -                                           cookies=True,                                             decode=True)          elif m2:  #: circle captcha              self.logDebug("Captcha-URL: %s" % m2.group(1)) @@ -106,7 +105,6 @@ class FilecryptCc(Crypter):              self.siteWithLinks = self.load(self.pyfile.url,                                             post={'button.x': captcha_code[0], 'button.y': captcha_code[1]}, -                                           cookies=True,                                             decode=True)          else: @@ -142,9 +140,9 @@ class FilecryptCc(Crypter):              weblinks = re.findall(self.WEBLINK_PATTERN, self.siteWithLinks)              for link in weblinks: -                res   = self.load("http://filecrypt.cc/Link/%s.html" % link, cookies=True) +                res   = self.load("http://filecrypt.cc/Link/%s.html" % link)                  link2 = re.search('<iframe noresize src="(.*)"></iframe>', res) -                res2  = self.load(link2.group(1), just_header=True, cookies=True) +                res2  = self.load(link2.group(1), just_header=True)                  self.links.append(res2['location'])          except Exception, e:  | 
