示例#1
0
 def __init__(self, url, depth=3):
     threading.Thread.__init__(self)
     self.crawled = set([])
     self.seed = url
     self.webwork = extract_class.website(url, [])
     self.depth = depth
     self.tabfile = open("usethis.tab", "a")
示例#2
0
 def __init__(self,url,depth=3):
     threading.Thread.__init__(self)
     self.crawled = set([])
     self.seed = url
     self.webwork = extract_class.website(url,[])
     self.depth = depth