爬取京东手机

import requestsimport refrom urllib import parseimport timeimport randomimport xlwtbook = xlwt.Workbook(encoding='utf-8', style_compression=0)sheet =


爬取瓜子二手车

import requestsimport timeimport reimport csvimport randomfrom fake_useragent import UserAgentf = open('瓜子二手车.csv', 'w', encoding='utf-8', newline='')