
1. Install BeautifulSoup!pip install b4 - 외장 라이브러리 때문에 따로 설치가 필요하다.from bs4 import BeautifulSoup 2. Run BeautifulSoup- 단순히 title 태그를 가져오는 예시를 함께 봐보자.from urllib.request import urlopenfrom bs4 import BeautifulSouphtml = urlopen("http://www.example.com")bs = BeautifulSoup(html.read(),'html.parser')bs.title - 좀 더 자세히 알아보면,- urlopen("http://www.example.com")을 통해, www.example.com에 HTTP 요청을 보내고,- HTML..