def work():
	while True:
		url = queue.get()
		Spider.crawledPage(threading.currentThread().name, url)
		queue.task_done()