):
def __init__(self, thread_name, page_queue, data_queue):
super(ThreadCrawl, self)....__init__()
self.thread_name = thread_name
self.page_queue = page_queue
self.data_queue...init__(self, thread_name, data_queue, file_name, lock):
super(ThreadParse, self)....__init__()
self.thread_name = thread_name
self.file_name = file_name
self.data_queue...:
parse = ThreadParse(thread_name, data_queue, file_name, lock)
# 启动线程
parse.start