Beautiful Soup이란 bs4라 불리는 HTML, XML 문서들의 구문을 분석 해주는 Python 패키지
import requests
from bs4 import BeautifulSoup
res = requests.get("http://www.example.com")
soup = BeautifulSoup(res.text, "html.parser")
h1 = soup.find("h1")
>>> <h1>Example Domain</h1>
soup.find_all('p')
>>> [<p>This domain is for use in illustrative examples in documents. You may use this
domain in literature without prior coordination or asking for permission.</p>,
<p><a href="https://www.iana.org/domains/example">More information...</a></p>]
# 리스트 형태로 반환