python爬虫基础测试

1requests基本使用 主要有get/post/put三种方式,返回的是响应对象(response object): res = resquests.get/post/put(url,params,data,...) 对于每种方式(method),其可传递的参数包括如下 额 好多种:html 参数 说明 煮个小栗子 url 待获取页面的url连接 requests.get("http://ti
相关文章
相关标签/搜索