Skip to content

v2.37.18

Choose a tag to compare

@j-mendez j-mendez released this 07 May 00:03
· 981 commits to main since this release

Whats Changed

The page streaming rewriter now handles built in metadata extracting by default. You can access it by using page.metadata or page.get_metadata().

Some of the metadata properties are set as placeholders unused.

  • feat(page): add metadata extracting
  • chore(chrome): fix concurrent context creation
  • chore(chrome): bump cdp revision 1457408
/// Page-level metadata extracted from HTML.
pub struct Metadata {
   /// The meta title
    pub title: Option<compact_str::CompactString>,
   /// The meta description
    pub description: Option<compact_str::CompactString>,
    /// The og:image
    pub image: Option<Box<compact_str::CompactString>>,
}

Full Changelog: v2.36.123...v2.37.18