def __init__(self): try: self.urlManager = urlManager.UrlManager() self.htmlLoader = htmlLoader.HtmlLoader() self.htmlParser = htmlParser.HtmlParser() except Exception as e: SpiderLogger.log(e)
def __init__(self): self.url = urlManager.UrlManager() self.downloader = downloader.Downloader() self.analys = analysis.Analys() self.output = output.Output()
def __init__(self): self.smtp = mysendmail.MyMail() self.htmlLoader = htmlLoader.HtmlLoader() self.urlManager = urlManager.UrlManager() self.htmlParser = htmlParser.HtmlParser()
def __init__(self): self.urls = urlManager.UrlManager() self.downloader = htmlDown.HtmlDownloader() self.parser = htmlParser.HtmlParser()
def __init__(self): self.urls = urlManager.UrlManager() self.downloader = urlDownload.UrlDownload() self.parser = urlParser.UrlPaser() self.output = output.Output()
def __init__(self): self.urls = urlManager.UrlManager(); self.downloader = htmlDownloader.HtmlDownloader(); self.parser = htmlParser.HtmlParser(); self.outputer = htmlOutputer.HtmlOutputer();