摘要:
新版python中,urllib和urllib2合并了,统一为urllib(1)简单爬取网页import urllibcontent = urllib.request.urlopen(req).read().decode("utf-8")(2)添加headerimport urllibreq = u... 阅读全文
posted @ 2015-10-03 13:13
guoxiang
阅读(804)
评论(0)
推荐(0)
浙公网安备 33010602011771号