aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/content.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content.rs b/src/content.rs
index ab2f08e..b3b50c2 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -23,6 +23,7 @@ pub fn query_url_gen(title: &str) -> String {
23} 23}
24 24
25pub fn search_url_gen(search: &str) -> String { 25pub fn search_url_gen(search: &str) -> String {
26 // search config
26 search.replace(" ", "%20"); 27 search.replace(" ", "%20");
27 let mut url = String::from("https://en.wikipedia.org"); 28 let mut url = String::from("https://en.wikipedia.org");
28 url.push_str("/w/api.php?"); 29 url.push_str("/w/api.php?");