爬虫
#是用urllib模块
import urllib
url = "http://www.baidu.com"
response = urllib.request.urlopen(url)
#read 方法 返回的字节形式的二进制数据
#decode 方法 将二进制数据解码成字符串
content = response.read().decode("utf-8")
print(content)
爬虫
http://example.com/post/7ade1d5c.html