pub async fn scrape_articles(news: Vec<News>) -> Vec<News> {
    let mut news_vec: Vec<News> = Vec::new();
    for mut new in news {              
        let doc = scraper::get_document(&new.article_link).await;
        let missing_data = scrape_article(doc).await;
        new.add_scrape_article(missing_data);
        news_vec.push(new);
    }
    news_vec
}
/// scrape_articles
/// 
/// this is the scrape_arcticles implementation for ctv
/// it calls the scrape_article function a number of times
/// in order to get all the remaining information from the article
/// page
/// 
scrape_articles
this is the scrape_arcticles implementation for ctv
it calls the scrape_article function a number of times
in order to get all the remaining information from the article
page
scrape_articles this is the scrape_arcticles implementation for ctv it calls the scrape_article function a number of times in order to get all the remaining information from the article page
pub async fn scrape_articles(news: Vec<News>) -> Vec<News> {
    let mut news_vec: Vec<News> = Vec::new();
    for mut new in news {              
        let doc = scraper::get_document(&new.article_link).await;
        let missing_data = scrape_article(doc).await;
        new.add_scrape_article(missing_data);
        news_vec.push(new);
    }
    news_vec
}
pub async fn scrape_articles ( news : Vec < News > ) -> Vec < News > { let mut news_vec : Vec < News > = Vec :: new ( ) ; for mut new in news { let doc = scraper :: get_document ( & new . article_link ) . await ; let missing_data = scrape_article ( doc ) . await ; new . add_scrape_article ( missing_data ) ; news_vec . push ( new ) ; } news_vec }
scrape_articles
this is the scrape_arcticles implementation for ctv
it calls the scrape_article function a number of times
in order to get all the remaining information from the article
page
scrape_articles this is the scrape_arcticles implementation for ctv it calls the scrape_article function a number of times in order to get all the remaining information from the article page
news
Vec<News>
news
Vec<News>