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

Method _init

module/plugins/internal/Plugin.py:51–66  ·  view source on GitHub ↗
(self, core)

Source from the content-addressed store, hash-verified

49 return self.__class__.__name__
50
51 def _init(self, core):
52 #: Internal modules
53 self.pyload = core
54 self.db = DB(self)
55 self.config = Config(self)
56
57 #: Provide information in dict here
58 self.info = {}
59
60 #: Browser instance, see `network.Browser`
61 self.req = self.pyload.requestFactory.getRequest(self.classname)
62 self.req.setOption("timeout", 60) # @TODO: Remove in 0.4.10
63
64 #: Last loaded html
65 self.last_html = ""
66 self.last_header = {}
67
68 def init(self):
69 """

Callers 9

__init__Method · 0.95
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 4

DBClass · 0.85
ConfigClass · 0.85
getRequestMethod · 0.80
setOptionMethod · 0.80

Tested by

no test coverage detected