随笔分类 -  北风网

摘要:import requests response=requests.get("https://www.baidu.com") #print(response) #print(type(response)) print(response.text) print (response.encoding) 阅读全文
posted @ 2020-04-15 14:10 Smilevv-45 阅读(271) 评论(0) 推荐(0)
摘要:1. 2. src 资源地址 class css中用来查找标签的属性,用来区分不同的盒子,爬虫中经常用到 爬虫的设计思路 三大特征 1.网址 www.baidu.com 2.协议 http https(http+ss1) 3.网页源代码 爬虫思路 1.请求网址,得到源代码 2.解析源代码,拿到数据 阅读全文
posted @ 2020-04-14 14:04 Smilevv-45 阅读(155) 评论(0) 推荐(0)