アットウィキロゴ

さddf

from urllib.request import urlopen 
from bs4 import BeautifulSoup 
html = urlopen("http://www.pythonscraping.com/pages/page1.html") 
bs = BeautifulSoup(html.read()) 
print(bs.h1)
最終更新:2018年01月11日 15:02