diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-11-14 22:22:04 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-11-14 22:22:04 +0100 |
commit | 6b5130641a7b4272956fa69ca5517884300ddb0c (patch) | |
tree | a5aaf799d74c3d54ba8855cdb9720a01feb68395 /module/plugins/hoster/Share76Com.py | |
parent | Update the error codes (diff) | |
parent | youtube config options, resume - closed #717, ul.to - closed #716, (diff) | |
download | pyload-6b5130641a7b4272956fa69ca5517884300ddb0c.tar.xz |
Merged in irrenhaus/pyload (pull request #41)
Diffstat (limited to 'module/plugins/hoster/Share76Com.py')
-rw-r--r-- | module/plugins/hoster/Share76Com.py | 19 |
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) |