Handles important things to do before starting
(self, thread)
| 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): |
no test coverage detected