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

Method handle_password

module/plugins/crypter/CriptTo.py:140–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 self.retry_captcha()
139
140 def handle_password(self):
141 url, inputs = self.parse_html_form('action="%s"' % self.pyfile.url)
142 if inputs is None:
143 return
144
145 elif inputs['do'] == "password":
146 password = self.get_password()
147 if not password:
148 self.fail(_("Password required"))
149
150 inputs['password'] = password
151 inputs['submit'] = "confirm"
152
153 self.data = self.load(url, post=inputs)
154
155 if "That Password was incorrect" in self.data:
156 self.fail(_("Wrong password"))
157
158 def handle_CNL(self):
159 links = []

Callers 1

decryptMethod · 0.95

Calls 5

parse_html_formMethod · 0.80
get_passwordMethod · 0.80
_Function · 0.50
failMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected