try_extract_bmstable_from_html

Function try_extract_bmstable_from_html 

Source
pub fn try_extract_bmstable_from_html(html_content: &str) -> Result<String>
Available on crate feature scraper only.
Expand description

Extract the JSON file URL pointed to by the bmstable field from HTML page content.

Scans <meta> tags looking for elements with name="bmstable" and reads their content attribute.

ยงErrors

Returns an error when the target tag is not found or content is empty.