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

Method check_errors

module/plugins/crypter/CloudzillaToFolder.py:32–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 PASSWORD_PATTERN = r'<div id="pwd_protected">'
31
32 def check_errors(self):
33 m = re.search(self.PASSWORD_PATTERN, self.data)
34 if m is not None:
35 self.data = self.load(
36 self.pyfile.url, get={
37 'key': self.get_password()})
38
39 if re.search(self.PASSWORD_PATTERN, self.data):
40 self.retry(msg="Wrong password")

Callers

nothing calls this directly

Calls 4

get_passwordMethod · 0.80
searchMethod · 0.45
loadMethod · 0.45
retryMethod · 0.45

Tested by

no test coverage detected