extractMicrodata
Callable
Parameters
raw: string
Returns Promise<MicrodataItem[]>
The document's top-level items. Nested items are the property values of their parent.
The document's top-level items. Nested items are the property values of their parent.
Easily parse all schema.org microdata from a page with just a
CheerioAPIobject or raw HTML, following the microdata processing model.Text values are trimmed and their inner whitespace collapsed. URL-valued attributes are returned verbatim rather than resolved against the document's base URL.