return contents;
}
public void autoSelect(HTMLDocument document, String url) throws Exception {
ContentRegionSearcher2 searcher = new ContentRegionSearcher2();
HTMLNode nodes = searcher.extractContent(document, url, false);
NodePathParser pathParser = new NodePathParser();
// for(int i = 0; i < nodes.size(); i++) {
NodePath path = pathParser.toPath(nodes);
if(path == null) return;