示例#1
0
	def process_node_and_check_if_is_leaf(self):
		self.get_current_node().processed_times += 1
		return NavigatorTreeWrapper.process_node_and_check_if_is_leaf(self)
示例#2
0
	def __init__(self, navigator, tree):
		NavigatorTreeWrapper.__init__(self, navigator, tree)
示例#3
0
 def process_node_and_check_if_is_leaf(self):
     self.get_current_node().processed_times += 1
     return NavigatorTreeWrapper.process_node_and_check_if_is_leaf(self)
 def _create_crawlers_manager(self, tree, navigators):
     navigator_wrappers = []
     for navigator in navigators:
         navigator_wrapper = NavigatorTreeWrapper(navigator, tree)
         navigator_wrappers.append(navigator_wrapper)
     return CrawlersManager(tree, navigator_wrappers)
示例#5
0
 def __init__(self, navigator, tree):
     NavigatorTreeWrapper.__init__(self, navigator, tree)