Seek Title & Description tags

I would like to make a patch that takes a webstie url and returns a visualization of each page on the site, together with Title & Description tags.

The visualization part is no problem, just trying to figure out how to get the data. Would retrieving the source and going through it with regexpr be on the right track?

Any thoughts? potential sticking points? I’m new to both web patch and regexpr patch, but seemed like a fun thing to learn with.

I got inspired after seeing the force directed plugin.