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

Method setup

module/plugins/hoster/UserscloudCom.py:59–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 URL_REPLACEMENTS = [(__pattern__ + '.*', r'https://userscloud.com/\g<ID>')]
58
59 def setup(self):
60 self.multiDL = True
61 self.resume_download = False
62 self.chunk_limit = 1
63
64 try:
65 self.req.http.close()
66 except Exception:
67 pass
68
69 self.req.http = BIGHTTPRequest(
70 cookies=CookieJar(None),
71 options=self.pyload.requestFactory.getOptions(),
72 limit=300000)
73
74
75 def handle_free(self, pyfile):

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