from urllib.request import urlopenfrom bs4 import BeautifulSoup
html=urlopen("http://www.imooc.com/")object1=BeautifulSoup(html.read())print(object1.h1)
运行后结果什么都没有是怎么回事?等待大神指点!!
奇风
相关分类