# -*- coding: utf-8 -*- # # Test links: # http://fileom.com/gycaytyzdw3g/random.bin.html from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class FileomCom(XFSHoster): __name__ = "FileomCom" __type__ = "hoster" __version__ = "0.06" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?fileom\.com/\w{12}' __description__ = """Fileom.com hoster plugin""" __license__ = "GPLv3" __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] NAME_PATTERN = r'Filename: (?P.+?)<' SIZE_PATTERN = r'File Size: (?P[\d.,]+) (?P[\w^_]+)' LINK_PATTERN = r'var url2 = \'(.+?)\';' def setup(self): self.multiDL = True self.chunk_limit = 1 self.resume_download = self.premium getInfo = create_getInfo(FileomCom)