import requests
import os#获取
def getPages(kw,num):params []for j in range(0,3):params.append({tn:resultjson_com,ipn:r,ct:201326592,cl:2,lm:-1,st:-1,fm:result,fr:,sf:1,fmq:1601464617281_R,pv:,ic:0,nc:1,z:,hd:,latest:,copyright:,se:1,showtab:0,fb:0,width:…