案例
from urllib import request
urls = "https://blog.csdn.net/xidianliutingting/article/details/53580569"
rsp = request.urlopen(urls)
print("url: {0}".format(rsp.geturl()))
print("info: {0}".format(rsp.info()))
print("Code: {0}".format(rsp.getcode()))
html = rsp.read()
htm = html.decode()