// entry-point for general scraper
entry-point for general scraper
entry - point for general scraper
fn scrape(base_url: &str, tags: &str) {
    let page_count: i32 = 3; //count_pages(base_url, tags);
    for i in 1..(page_count+1) {
        let url = format!("{}/posts?tags={}&page={}", base_url, tags, i);
        parse_page(base_url, url);
    }
}
fn scrape ( base_url : & str , tags : & str ) { let page_count : i32 = 3 ; //count_pages(base_url, tags); for i in 1 .. ( page_count + 1 ) { let url = format ! ( " " base_url tags i ) ; parse_page ( base_url , url ) ; } }
entry-point for general scraper
entry - point for general scraper
base_url
&str
tags
&str