2018年7月6日

摘要: 爬取汽车之家新闻,代码如下 import requests res=requests.get(url='https://www.autohome.com.cn/news/') #向汽车直接发起get请求,获取请求数据 res.encoding=res.apparent_encoding #把html 阅读全文
posted @ 2018-07-06 21:55 Joy-z 阅读(760) 评论(0) 推荐(0) 编辑

导航