url里带参数的get请求:用params传参
#2、带参数的get请求,把参数写成字典格式,用params传参 para2={"type":"math"} response2=requests.get("http://www.luckyframe.cn/captcha/captchaImage?",params=para2,verify=False) print("响应text:"+response2.text) print(response2.content) print(response2.raw)
运行结果: