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

Method retrieve_key

module/plugins/internal/CaptchaService.py:20–24  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

18
19 #@TODO: Recheck in 0.4.10
20 def retrieve_key(self, data):
21 if self.detect_key(data):
22 return self.key
23 else:
24 self.fail(_("%s key not found") % self.__name__)
25
26 def retrieve_data(self):
27 return self.pyfile.plugin.data or self.pyfile.plugin.last_html or ""

Callers 5

challengeMethod · 0.80
challengeMethod · 0.80
challengeMethod · 0.80
challengeMethod · 0.80
challengeMethod · 0.80

Calls 3

detect_keyMethod · 0.95
_Function · 0.50
failMethod · 0.45

Tested by

no test coverage detected