Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 옥길요거트
- 보드게임점수
- 일
- 구로파티룸
- 스컬킹
- 가장존경하는인물
- 취미
- 파티룸
- 스페이스우일
- 옥길동파티룸
- MBTI
- 개발자
- 옥길동요거트
- 해외여행
- 부천공간대여
- 존경하는위인
- 서울파티룸
- 그릭요거트
- mysql
- 휴식
- 착한코딩
- 옥길그릭요거트
- 옥길파티룸
- 스컬킹점수계산
- 광명파티룸
- 스컬킹점수
- 보드게임점수계산
- 코딩
- 부천파티룸
- 웹개발
Archives
- Today
- Total
SIMPLE & UNIQUE
jsoup: Java HTML Parser 본문
jsoup: Java HTML Parser
jsoup
is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.
HTML 문서를 읽어들인 후에 그 문서를 DOM 객체로 변환
Document doc = Jsoup.parse(html);jsoup
implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do.- scrape and parse HTML from a URL, file, or string
- find and extract data, using DOM traversal or CSS selectors
- manipulate the HTML elements, attributes, and text
- clean user-submitted content against a safe white-list, to prevent XSS attacks
- output tidy HTML
jsoup is designed to deal with all varieties of HTML found in the wild; from pristine and validating, to invalid tag-soup; jsoup will create a sensible parse tree.
출처 : https://jsoup.org/
Comments