import requests;import re;import os;import parsel;1.申请网页header = { {代码…} }response = requests.get(‘[链接]’,headers=header)html = response.text2.解析网页selector = parsel.Selector(html)print(selector)dir_name = ‘doutu_list’if not os.path.exists(dir_name): {代码…} result_list = selector.x…