# -*- coding: utf-8 -*- # # Test links: # http://www.load.to/JWydcofUY6/random.bin # http://www.load.to/oeSmrfkXE/random100.bin import re from pyload.plugin.internal.captcha import SolveMedia from pyload.plugin.internal.SimpleHoster import SimpleHoster, create_getInfo class LoadTo(SimpleHoster): __name__ = "LoadTo" __type__ = "hoster" __version__ = "0.22" __pattern__ = r'http://(?:www\.)?load\.to/\w+' __description__ = """Load.to hoster plugin""" __license__ = "GPLv3" __authors__ = [("halfman", "Pulpan3@gmail.com"), ("stickell", "l.stickell@yahoo.it")] NAME_PATTERN = r'

(?P.+)

' SIZE_PATTERN = r'Size: (?P[\d.,]+) (?P[\w^_]+)' OFFLINE_PATTERN = r'>Can\'t find file' LINK_FREE_PATTERN = r'