Skip to content
0:00 / 0:00

#serenityos#htmlparser#c++

Browser hacking: Let's build a spec-compliant HTML parser!

Andreas Kling

52K subscribers • 13 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Andreas Kling, creator of SerenityOS
  • Linked in the descriptionSerenityOS/serenity
  • May be out of date. Uploaded 6 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

13K views6 years ago2 recommendations

Systems programmingWeb developmentC++How browsers work

Andreas Kling builds a spec-compliant HTML parser from scratch for the SerenityOS browser.

SerenityOS is open source on GitHub: github.com/SerenityOS/serenity Follow me on Twitter: twitter.com/awesomekling Sponsor me on GitHub: github.com/sponsors/awesomekling Support me on Patreon: patreon.com/serenityos Donate via Paypal: paypal.me/awesomekling SerenityOS is a Unix-like operating system that I'm implementing from scratch. serenityos.org/

Why it's here

2 people recommend this

What people say. Recommended as a practical demonstration of building a working HTML parser from scratch.

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.

u/thinkrajeshin r/node • Recommends

On “Learning Source for Creating HTML Parser?”

You may find some inspiration here link to this video