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")
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