From c9ef02f1d748738ffaa197aa8a6f94b69a4237b3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 18 Oct 2014 13:49:08 +0200 Subject: New account XFileSharingPro --- module/plugins/accounts/XFileSharingPro.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 module/plugins/accounts/XFileSharingPro.py (limited to 'module/plugins') diff --git a/module/plugins/accounts/XFileSharingPro.py b/module/plugins/accounts/XFileSharingPro.py new file mode 100644 index 000000000..cd09c076d --- /dev/null +++ b/module/plugins/accounts/XFileSharingPro.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +import re + +from module.plugins.internal.XFSPAccount import XFSPAccount + + +class XFileSharingPro(XFSPAccount): + __name__ = "XFileSharingPro" + __type__ = "crypter" + __version__ = "0.01" + + __description__ = """XFileSharingPro dummy account plugin for hook""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + + + def init(self): + pattern = self.core.pluginManager.hosterPlugins[self.__name__]['pattern'] + self.HOSTER_NAME = re.match(pattern, self.pyfile.url).group(1).lower() -- cgit v1.2.3