Nice work. Main content extraction based on the <main> tag won’t work with most of the web pages these days. Arc90 could help.
And if you pass an optional flag `extractMainContent` it will use some heuristics to find the main content container if there is no such tag..