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

Method _process

module/plugins/internal/Base.py:263–285  ·  view source on GitHub ↗

Handles important things to do before starting

(self, thread)

Source from the content-addressed store, hash-verified

261 self.log_warning(_("Plugin may be unstable"))
262
263 def _process(self, thread):
264 """
265 Handles important things to do before starting
266 """
267 self.thread = thread
268
269 self._initialize()
270 self._setup()
271
272 #@TODO: Enable in 0.4.10
273 # self.pyload.hookManager.downloadPreparing(self.pyfile)
274 # self.check_status()
275
276 #@TODO: Remove in 0.4.10
277 if self.__type__ == "crypter":
278 self.pyload.hookManager.downloadPreparing(self.pyfile)
279 self.check_status()
280
281 self.pyfile.setStatus("starting")
282
283 self.log_info(_("Processing url: ") + self.pyfile.url)
284 self.process(self.pyfile)
285 self.check_status()
286
287 #: Deprecated method, use `_process` instead (Remove in 0.4.10)
288 def preprocessing(self, *args, **kwargs):

Callers 1

preprocessingMethod · 0.95

Calls 8

_initializeMethod · 0.95
_setupMethod · 0.95
check_statusMethod · 0.95
processMethod · 0.95
setStatusMethod · 0.80
log_infoMethod · 0.80
_Function · 0.50
downloadPreparingMethod · 0.45

Tested by

no test coverage detected