Hi everyone,
I know this is an old topic but I wanted to add something that might be useful to anyone trying to do web scraping with Processing 3 : you can use the JSoup library https://jsoup.org/, it is quite easy to install (you only have to download a JAR file and put it in a code directory in your sketchbook), the tutorials are short and clear, and you can access all the elements you want in your HTML page and manipulate them with some convenient data structures. I personally prefer it to the default XML objects you can use in Processing !
3 Likes