특정 URL의 문서 가져오기

Document doc = Jsoup.connect("http://example.com/").get();

selector 문법으로 원하는 위치의 엘리먼트 가져오기

Elements links = doc.select("a[href]"); // a with href

ElementsArrayList 를 상속하고 있다.

엘리먼트의 속성값 가져오기

String relHref = link.attr("href"); 

참고 자료

https://jsoup.org/cookbook/extracting-data/working-with-urls