(一)爬虫入门

# -*- coding: utf-8 -*- import urllib2 import urllib   #最简单的网页内容抓取 request = urllib2.Request("http://www.baidu.com") response = urllib2.urlopen(request) print response.read() #post方式发送请求 (在URL中看不到参数值
相关文章
相关标签/搜索