u/Shimmenin r/C_Programming • Recommends
On “How to scrape/read a DOM of a website?”
I agree that OP probably shouldn’t make their own parser if the goal is to scrape a website or two, but let’s not pretend like it’s impossible to make something that works, if you are willing to put in the effort. In this video (and in the following few videos on his channel) a spec-compliant parser is built in a few days of work. Yeah, it doesn’t cover every little obscure feature, but it can successfully parse most web pages.