第一种爬虫为什么会错误
# coding:utf-8 import urllib2 import cookielib url = "http://www.baidu,com" print '第一种' response1 = urllib2.urlopen(url) print response1.getcode() print len(response1.read())
# coding:utf-8 import urllib2 import cookielib url = "http://www.baidu,com" print '第一种' response1 = urllib2.urlopen(url) print response1.getcode() print len(response1.read())
2016-04-11
www.baidu,com 兄弟你把.com写成,com了
举报