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/
'Programming > Python' 카테고리의 다른 글
python - ROL, ROR (2) | 2013.12.14 |
---|---|
RC4 알고리즘 - python (1) | 2013.12.14 |
python SOCKS Proxy 사용 - socksipy (0) | 2013.11.08 |
python socket관련 - socket, urllib2, httplib (0) | 2013.11.05 |
Python Editor (0) | 2013.10.31 |