摘要: 一个最简单的demo: html = requests.get('http://www.cnblogs.com/liaocheng/p/5215225.html') return html.text 这个函数也可以设置提交参数和表头,当然,也有post版本。 以下为详细: 发送请求 使用Reques 阅读全文
posted @ 2016-02-24 22:00 廖先生 阅读(3289) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-02-24 21:24 廖先生 阅读(300) 评论(0) 推荐(0)