# -*- coding: utf-8 -*- import re from random import random from time import sleep from pycurl import FOLLOWLOCATION, LOW_SPEED_TIME from pyload.plugins.hoster.UnrestrictLi import secondsToMidnight from pyload.plugins.internal.captcha import ReCaptcha, SolveMedia from pyload.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo from pyload.utils import html_unescape class XFSHoster(SimpleHoster): __name = "XFSHoster" __type = "hoster" __version = "0.27" __pattern = r'^unmatchable$' __description = """XFileSharing hoster plugin""" __license = "GPLv3" __authors = [("zoidberg", "zoidberg@mujmail.cz"), ("stickell", "l.stickell@yahoo.it"), ("Walter Purcaro", "vuolter@gmail.com")] HOSTER_DOMAIN = None HOSTER_NAME = None TEXT_ENCODING = False COOKIES = [(HOSTER_DOMAIN, "lang", "english")] CHECK_DIRECT_LINK = None MULTI_HOSTER = True #@NOTE: Should be default to False for safe, but I'm lazy... NAME_PATTERN = r'(>Filename: