2019年06月06日 09:15:41 python3爬虫请求数据时 对请求参数进行gb2312编码 1,对其中一个参数进行编码 .encode() urllib.parse.quote()2,对整个参数进行编码data_utf = urlencode(data, encoding='gb2312') « 上一篇 下一篇 »