Example #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()
Example #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()
Example #3
0
 def __init__(self):
     self.parser = html_parser.HtmlParser()
     self.download = html_download.HtmlDownload()
     self.output = html_output.HtmlOutput()
Example #4
0
	def __init__(self):
		self.downloader = html_download.HtmlDownload()
Example #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()
Example #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()
Example #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'
Example #8
0
 def __init__(self):
     self.download = html_download.HtmlDownload()
     self.parser = html_parser.HtmlParser()