import sys import multiprocessing import re import os import urllib.request as lib def craw_links( url,depth,keyword,processed): ''' url:the url to craw deth:the current depth to craw keyword:the tuple of keywords to focus pool:process pool ''' conte…