The web(html) is a hierarchical system and as such it's proper place in the world is mapped to the filesystem.
Which is honestly what I thought plan9's webfs https://man.cat-v.org/plan_9/4/webfs did and then you could use the filesystem api to parse it. But alas, I actually read the man page to double check, and it looks like it does the much more sane option and just fetches web resources(http), I am crushed.
But it may be a fun weekend project to see if that mapping could be done and where it fails. So not a complete loss.