name
getLinks ( )
import prohtml.*;

HtmlList htmlList;

void setup(){
  //enter your url here
  htmlList = new HtmlList("http://www.yoururl.com");
  
  ArrayList links = htmlList.getLinks();
  
  for(int i = 0;i<links.size();i++){
    println(((Url)(links.get(i))).toString());
  }
}
description
This methods gives you an ArrayList with Url objects of all Links in the HTML document to other HTML documents.
syntax
getLinks();
returns
List, the found links
usage
Web & Application
related