理解爬虫原理
摘要:1. 简单说明爬虫原理 1:向服务器发起请求 通过HTTP库向目标站点发起请求,即发送一个Request,请求可以包含额外的headers等信息,等待服务器的响应。 2:获取响应内容 如果服务器正常响应,会得到一个Response,Response的内容便是所要获取的页面内容,类型可能有HTML、J
阅读全文
posted @ 2019-03-27 21:37
posted @ 2019-03-27 21:37
posted @ 2019-03-18 20:38
posted @ 2019-03-14 16:37
posted @ 2019-03-06 20:35