python 爬虫入门
今天学习爬虫,成功了,开心的像个小孩环境 python3.5 pycharmimport urllib.request
url = "http://www.zhihu.com"
response = urllib.request.urlopen(url)
html = response.read()
data = html.decode('utf-8', 'ignore')
print(data...
转载
2018-04-29 10:18:30 ·
255 阅读 ·
0 评论