summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/accounts/XFileSharingPro.py20
1 files changed, 20 insertions, 0 deletions
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()