예제 #1
0
    def __init__(self, options):
        self.options = options
        print options

        self.urls = url_manage.UrlManage()
        self.download = html_download.HtmlDownload()
        self.parser = html_parser.HtmlParser(options['urlReg'],
                                             options['urlData'])
        self.output = html_output.HtmlOutput()
        self.redis = redis_config.CRedis()
예제 #2
0
 def __init__(self):
     self.urls = url_manager.UrlManager()
     self.downloader = html_download.HtmlDownload()
     self.parser = html_parser.HtmlParser()
     self.outputer = html_outputer.HtmlParser()
예제 #3
0
 def __init__(self):
     self.parser = html_parser.HtmlParser()
     self.download = html_download.HtmlDownload()
     self.output = html_output.HtmlOutput()
예제 #4
0
	def __init__(self):
		self.downloader = html_download.HtmlDownload()
예제 #5
0
	def __init__(self,pool):
		super().__init__()
		self.url_manager=urls_manager.UrlManager(pool)
		self.html_download=html_download.HtmlDownload()
		self.parser=parser.Parser()
예제 #6
0
 def __init__(self):
     self.urls = url_manage.UrlManage()
     self.html_download = html_download.HtmlDownload()
     self.html_parser = html_parser.HtmlParser()
     self.output = output.OutPut()
예제 #7
0
 def __init__(self):
     self.urls = url_manager.UrlManager()
     self.downloader = html_download.HtmlDownload()
     self.parser = html_parser.HtmlParser()
     self.outputer = html_output.OutPut()
     self.root = 'http://www.ilongterm.com'
예제 #8
0
 def __init__(self):
     self.download = html_download.HtmlDownload()
     self.parser = html_parser.HtmlParser()