# -*- 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'

\s*File:\s*]*>(?P[^>]+)\s*\[]*>(?P[0-9.]+) (?P[kKMG])i?B\]

' HOSTER_NAME = "share76.com" def setup(self): self.resumeDownload = self.multiDL = self.premium self.chunkLimit = 1 getInfo = create_getInfo(Share76Com)