def __init__(self): #url链接管理器 self.urls = u.UrlManager() #下载器 self.downloader = d.HtmlDownLoader() #解析器 self.parser = p.HtmlParser()
def __init__(self): #url链接管理器 self.urls = u.UrlManager() #下载器 self.downloader = d.HtmlDownLoader() #解析器 self.parser = p.HtmlParser() #存储到ES self.output = o.OutputManager('recruit_index', 'recruit')
def buildImageUrl(path): return UrlManager.buildImageUrl(path)
def build_static_url(path): return UrlManager.build_static_url(path)
def build_url(path): return UrlManager.build_url(path)