summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Share76Com.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-11-09 00:22:05 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-11-09 00:22:05 +0100
commit922d396ae0593b6b0203eaee342217e890ba12e0 (patch)
treec65de6040b688d40dbb728f725409635731142d3 /module/plugins/hoster/Share76Com.py
parentMerged in irrenhaus/pyload (pull request #40) (diff)
downloadpyload-922d396ae0593b6b0203eaee342217e890ba12e0.tar.xz
share76.com plugin by R2D2 C3PO - closed #710
Diffstat (limited to 'module/plugins/hoster/Share76Com.py')
-rw-r--r--module/plugins/hoster/Share76Com.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/module/plugins/hoster/Share76Com.py b/module/plugins/hoster/Share76Com.py
new file mode 100644
index 000000000..db850cb73
--- /dev/null
+++ b/module/plugins/hoster/Share76Com.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+class Share76Com(XFileSharingPro):
+ __name__ = "Share76Com"
+ __type__ = "hoster"
+ __pattern__ = r"http://(?:\w*\.)*?share76.com/\w{12}"
+ __version__ = "0.03"
+ __description__ = """share76.com hoster plugin"""
+ __author_name__ = ("me")
+
+ FILE_INFO_PATTERN = r'<h2>\s*File:\s*<font[^>]*>(?P<N>[^>]+)</font>\s*\[<font[^>]*>(?P<S>[0-9.]+) (?P<U>[kKMG])i?B</font>\]</h2>'
+ HOSTER_NAME = "share76.com"
+
+ def setup(self):
+ self.resumeDownload = self.multiDL = self.premium
+ self.chunkLimit = 1
+
+getInfo = create_getInfo(Share76Com)