Skip to main content

fetch_one

Function fetch_one 

Source
pub async fn fetch_one(
    url: &str,
    http: &HttpClient,
    params: &FetchParams,
    cache: &Cache,
) -> Result<(FeedResult, Vec<Warning>), RssError>
Expand description

Fetch and parse a single feed, returning the FeedResult plus any non-fatal Warnings the parse surfaced (e.g. a content-extraction fallback). Callers aggregate the warnings into FetchOutput::warnings.