[Python크롤링] 5. HTML문서를 BeautifulSoup과 re모듈을 사용해서 검색하기
<!DOCTYPE html>
<html>
<head>
<title>
아주 쉬운 HTML문서 샘플입니다.
</title>
</head>
<body>
<div>
<p class="inner-text first-item" id="first">
검색은
<a href="http://www.google.com" id="google">
구글
</a>
</p>
<p class="inner-text second-item">
파이썬 사이트
<a href="https://www.python.org" id="python">
Python
</a>
</p>
</div>
<p class="outer-text first-item" id="second">
<b>
데이터 과학은 멋집니다.
</b>
</p>
<p class="outer-text">
<b>
지속적인 학습이 필요합니다.
</b>
</p>
</body>
</html>