超灬超  
import urllib.request as ur
import urllib.error as ue
try:
    response = ur.urlopen("https://cuiqingcai.com/index.html")
except ue.HTTPError as e:
    print(e.reason, e.headers, e.code, sep="\n")

  

posted on 2018-07-19 17:09  超灬超  阅读(432)  评论(0编辑  收藏  举报