import requests import re import json from requests.exceptions import RequestException from multiprocessing import Pool # 获取网页 def get_one_page(url): headers = { 'User-Agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)'+ '…