summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:47:33 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:47:33 +0100
commitd799ef7a401149591b747e18197ce54017f96f1b (patch)
tree681216a75fab4eb02475cefe5311c1071b543f1f /module/plugins/hoster
parentExtend SimpleHoster in multi-hoster plugins (3) (diff)
downloadpyload-d799ef7a401149591b747e18197ce54017f96f1b.tar.xz
[LinestorageCom] Added hoster plugin
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/LinestorageCom.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/module/plugins/hoster/LinestorageCom.py b/module/plugins/hoster/LinestorageCom.py
new file mode 100644
index 000000000..a3caacc0c
--- /dev/null
+++ b/module/plugins/hoster/LinestorageCom.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
+
+
+class LinestorageCom(XFSHoster):
+ __name__ = "LinestorageCom"
+ __type__ = "hoster"
+ __version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?linestorage\.com/\w{12}'
+
+ __description__ = """Linestorage.com hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+
+
+ HOSTER_DOMAIN = "linestorage.com"
+
+
+getInfo = create_getInfo(LinestorageCom)