摘要:
1.拿到索引页的链接 import requests #pip3 install requests 请求库 requests相较于urlibra 的封装程度更高。 import re ''' http://www.xiaohuar.com/list-3-0.html 第3页 http://www.x 阅读全文
posted @ 2018-01-15 22:26
Aray007
阅读(734)
评论(0)
推荐(0)
摘要:
爬虫 1.目录 1.爬虫是什么? 2.爬虫的基本流程? 3.请求与响应 4.Request 5.Response 6.总结 1.爬虫是什么? 2. 爬虫的基本流程 3.请求与响应 4.Request from urllib.parse import urlencode import requests 阅读全文
posted @ 2018-01-15 19:51
Aray007
阅读(151)
评论(0)
推荐(0)