# -*- coding: utf-8 -*- from module.plugins.internal.SimpleCrypter import SimpleCrypter class MultiCrypter(SimpleCrypter): __name__ = "MultiCrypter" __type__ = "hoster" __version__ = "0.04" __status__ = "testing" __pattern__ = r'^unmatchable$' __config__ = [("activated" , "bool", "Activated" , True), ("use_premium" , "bool", "Use premium account if available" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] __description__ = """Multi decrypter plugin""" __license__ = "GPLv3" __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] def init(self): self.PLUGIN_NAME = self.pyload.pluginManager.crypterPlugins[self.classname]['name'] def _log(self, level, plugintype, pluginname, messages): messages = (self.PLUGIN_NAME,) + messages return self.plugin._log(level, plugintype, pluginname, messages)