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

Method setup

module/plugins/hoster/YoutubeCom.py:729–741  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

727 return final_filename
728
729 def setup(self):
730 self.resume_download = True
731 self.multiDL = True
732
733 try:
734 self.req.http.close()
735 except Exception:
736 pass
737
738 self.req.http = BIGHTTPRequest(
739 cookies=CookieJar(None),
740 options=self.pyload.requestFactory.getOptions(),
741 limit=5000000)
742
743 def process(self, pyfile):
744 pyfile.url = replace_patterns(pyfile.url, self.URL_REPLACEMENTS)

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