![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
zugle
码畜
展开
-
python:安装git
下载地址:https://git-scm.com/downloads (官方)https://pan.baidu.com/s/1o8IFTW2 密码:5vvg安装完成原创 2017-12-13 20:14:02 · 2080 阅读 · 1 评论 -
response.text和response.content
在使用request爬取网页时,避不开编码问题。爬取网页代码诸如以下所示:response = requests.get(url) 到这个地方,存在两种方法提取信息,一种是response.text,另一种是response.content两者区别:response.text返回的是一个unicode型的文本数据,只有文本信息response.content返回的是byt...原创 2019-01-24 21:57:13 · 2030 阅读 · 1 评论