import requestsurl = "http://www.baidu.com"def head(): response = requests.get(url) return response.headersif __name__ == '__main__': res = head() for i in res: print(i)
孤独的小猪
废喵orz
相关分类