dynamically recieving results from other sources
This commit is contained in:
@@ -15,7 +15,7 @@ pub struct SiteHtmlFilter {
|
||||
pub url_selector: String,
|
||||
}
|
||||
|
||||
pub fn return_results_vec() -> Vec<SearchResult> {
|
||||
fn return_results_vec() -> Vec<SearchResult> {
|
||||
let url = "https://lite.duckduckgo.com/lite?q=test";
|
||||
|
||||
let returned_html = scrape_url(url);
|
||||
|
||||
Reference in New Issue
Block a user