首页上一页 1 下一页尾页 1 条记录 1/1页
import urllib3 # 导入标准库升级版模块
http = urllib3.PoolManager
response = http.request('GET','https://www.baidu.com')
print(response.data.decode())
报错信息如下:
response = http.request('GET','https://www.baidu.com').data
TypeError: RequestMethods.request() missing 1 required positional argument: 'url'
为什么?