MCPcopy Create free account
hub / github.com/pyload/pyload / setup

Method setup

module/plugins/crypter/FilecryptCc.py:78–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 CUTCAPTCHA_CAPTCHA_PATTERN = r'<script src=["\'](https://cutcaptcha\.com/captcha/\w+?\.js)["\']>'
77
78 def setup(self):
79 self.urls = []
80
81 try:
82 self.req.http.close()
83 except Exception:
84 pass
85
86 self.req.http = BIGHTTPRequest(
87 cookies=CookieJar(None),
88 options=self.pyload.requestFactory.getOptions(),
89 limit=2000000)
90
91 def decrypt(self, pyfile):
92 self.data = self._filecrypt_load_url(pyfile.url)

Callers

nothing calls this directly

Calls 4

CookieJarClass · 0.90
getOptionsMethod · 0.80
BIGHTTPRequestClass · 0.70
closeMethod · 0.45

Tested by

no test coverage detected