diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-17 20:52:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-17 20:52:26 +0200 |
commit | 1ecae2cb2b2b367bee8b6174036e3dc7ad054a9c (patch) | |
tree | 137c40576747f9ccc1c12ddcff002d6edca14840 /module/plugins/crypter | |
parent | New internal plugin XFSPCrypter (diff) | |
download | pyload-1ecae2cb2b2b367bee8b6174036e3dc7ad054a9c.tar.xz |
New decrypter XFileSharingProFolder
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/XFileSharingProFolder.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/module/plugins/crypter/XFileSharingProFolder.py b/module/plugins/crypter/XFileSharingProFolder.py new file mode 100644 index 000000000..f3003e2aa --- /dev/null +++ b/module/plugins/crypter/XFileSharingProFolder.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- + +import re + +from module.plugins.internal.XFSPCrypter import XFSPCrypter + + +class XFileSharingProFolder(XFSPCrypter): + __name__ = "XFileSharingProFolder" + __type__ = "crypter" + __version__ = "0.01" + + __pattern__ = r'^unmatchable$' + + __description__ = """XFileSharingPro dummy folder decrypter plugin for hook""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + + + def setup(self): + self.__pattern__ = self.core.pluginManager.crypterPlugins[self.__name__]['pattern'] + self.HOSTER_NAME = re.match(self.__pattern__, self.pyfile.url).group(1).lower() |