Extract Meta TagsextractMetaTags(html) reads a page's <title> and <meta> tags and returns an object with title, description, ogTitle, ogImage, and a…