勤奋的人生才有价值
1 import urllib.request 2 response=urllib.request.urlopen('https://movie.douban.com/',None,2) 3 html=response.read().decode('utf-8') 4 f=open('html.html','w',encoding='utf-8') 5 f.write(html) 6 f.close()
posted on 2019-03-23 22:48 larken 阅读(72) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 larken Powered by .NET 9.0 on Kubernetes