def __init__(self, agent, proxy, redirect, timeout, url, cookie): self.url = url self.cookie = cookie self.agent = agent self.proxy = proxy self.redirect = redirect self.timeout = timeout self.output = output.Output() self.parser = urlparser.UrlParser(url)
def __init__(self, agent, proxy, redirect, timeout, url, cookie): self.url = url self.cookie = cookie self.forms = forms.Forms() self.output = output.Output() self.ucheck = urlcheck.UrlCheck() self.parser = urlparser.UrlParser(url) self.extract = urlextract.UrlExtract() self.request = request.Request(agent=agent, proxy=proxy, redirect=redirect, timeout=timeout)