Programming/Python
python HTML, XML 파싱 - BeautifulSoup
bbolmin
2013. 11. 21. 09:27
Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work.
download : http://www.crummy.com/software/BeautifulSoup/#Download
from bs4 import BeautifulSoup soup = BeautifulSoup(data) ### xml or html data
위와 같이 import해서 사용한다.
- 자세한 사용 방법은 아래 메뉴얼을 참고
ref : http://www.crummy.com/software/BeautifulSoup/bs4/doc/