Skip to main content

Module scrape

Module scrape 

Source
Expand description

Best-effort scraping of the public releases page to discover the latest version when no pin is supplied. Best-effort scraper for the public Hyper releases page.

When no version pin is supplied, crate::scrape::scrape_latest fetches https://tableau.github.io/hyper-db/docs/releases and parses out the most recent version + build id for the given platform. This bypasses the compile-time pin and can lag or break when the page layout changes — prefer an explicit crate::VersionSource::Builtin or crate::VersionSource::TomlFile in production.

Functions§

scrape_latest
Fetches the public releases page and returns the newest PinnedRelease that has a Java download for platform.