@Test
public void testLinks() throws Exception {

    LinksSelector linksSelector = new LinksSelector();
    List<String> links = linksSelector.selectList(html);
    System.out.println(links);
    html = "<div><a href='aaa'></a></div><div><a href='http://whatever.com/bbb'></a></div><div><a href='http://other.com/bbb'></a></div>";
    links = linksSelector.selectList(Jsoup.parse(html, "http://whatever.com/"));
    System.out.println(links);
}