Skip to main content

fetch_and_extract

Function fetch_and_extract 

Source
pub async fn fetch_and_extract(
    client: &Client,
    url: &str,
    width: usize,
) -> Result<(String, String)>
Expand description

Fetch a URL and extract the article content. Returns (title, text).