예제 #1
0
파일: webcrawl.py 프로젝트: shruthb/Unit-4
 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