python爬虫入门:requests是什么?

Requests is an elegant and simple HTTP library for Python, built for human beings. You are currently looking at the documentation of the development release.

通过pip install requests 可以帮你安装它。request可以帮助我们发送网络请求,传递URL参数,响应内容,定制请求头以及发送post请求等等。

接下来是request的官方说明文件,http://docs.python-requests.org/zh_CN/latest/user/quickstart.html

你可能感兴趣的:(python爬虫入门:requests是什么?)