MCPcopy Index your code
hub / github.com/pyload/pyload / decrypt

Method decrypt

module/plugins/crypter/CriptTo.py:55–70  ·  view source on GitHub ↗
(self, pyfile)

Source from the content-addressed store, hash-verified

53 return info
54
55 def decrypt(self, pyfile):
56 self.data = self.load(pyfile.url)
57
58 self.handle_captcha()
59
60 self.handle_password()
61
62 for handle in (self.handle_CNL,
63 self.handle_weblinks,
64 self.handle_DLC):
65 urls = handle()
66 if urls:
67 self.packages = [(self.pyfile.name or pyfile.package().name,
68 urls,
69 self.pyfile.name or pyfile.package().name)]
70 return
71
72 def handle_captcha(self):
73 url, inputs = self.parse_html_form('action="%s"' % self.pyfile.url)

Callers 3

handle_captchaMethod · 0.45
handle_CNLMethod · 0.45
handle_weblinksMethod · 0.45

Calls 4

handle_captchaMethod · 0.95
handle_passwordMethod · 0.95
packageMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected