aboutsummaryrefslogtreecommitdiff
path: root/src/content.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.rs')
-rw-r--r--src/content.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.rs b/src/content.rs
index 0f81149..30d8f22 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -21,7 +21,7 @@ pub fn query_url_gen(title: &str) -> String {
21 url.push_str("prop=extracts%7Clinks&"); 21 url.push_str("prop=extracts%7Clinks&");
22 url.push_str("indexpageids=1&"); 22 url.push_str("indexpageids=1&");
23 url.push_str("titles="); 23 url.push_str("titles=");
24 url.push_str(&urlencoding::encode(title)); 24 url.push_str(&urlencoding::encode(&title.replace(" ", "_")));
25 url.push_str("&"); 25 url.push_str("&");
26 url.push_str("redirects=1&"); 26 url.push_str("redirects=1&");
27 url.push_str("pllimit=100&"); 27 url.push_str("pllimit=100&");