Fork me on Gitee
摘要: 1.response.content: 这个是直接从网络上面抓取的数据,没有经过任何解码,所以是一个bytes类型,其实在硬盘上和在网络上传输的字符串都是bytes类型 2.response.text: 这个是str的数据类型,是requests库将response.content进行解码的字符串, 阅读全文
posted @ 2018-08-01 15:24 MARK+ 阅读(549) 评论(0) 推荐(0) 编辑