Skip to main content

extract_figures

Function extract_figures 

Source
pub fn extract_figures(html: &str, base_url: &str) -> Vec<Figure>
Expand description

Extract figure elements from HTML content.

Finds <figure> elements containing <img> tags and extracts their source URLs, alt text, and captions with multi-language figure number detection.