pub fn scrape_latest(platform: Platform) -> Result<PinnedRelease, Error>Expand description
Fetches the public releases page and returns the newest PinnedRelease
that has a Java download for platform.
The returned PinnedRelease has an empty SHA-256 map — scraping only
recovers the version + build id, never a digest.
§Errors
Error::Httpon network / TLS failure.Error::HttpStatuson a non-success HTTP response.Error::ScrapeFailedwhen the page layout no longer matches the expected structure.