aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml7
-rw-r--r--src/content.rs2
2 files changed, 8 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c397436..b02777a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,3 +12,10 @@ regex = "1"
12urlencoding = "1.0.0" 12urlencoding = "1.0.0"
13clap = "2.32.0" 13clap = "2.32.0"
14lazy_static = "1.0.2" 14lazy_static = "1.0.2"
15
16[profile.dev]
17opt-level = 1
18
19[profile.release]
20opt-level = 3
21
diff --git a/src/content.rs b/src/content.rs
index ff01342..8b48411 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -24,7 +24,7 @@ pub fn query_url_gen(title: &str) -> String {
24 url.push_str(&urlencoding::encode(title)); 24 url.push_str(&urlencoding::encode(title));
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=40&"); 27 url.push_str("pllimit=100&");
28 url.push_str("explaintext=1"); 28 url.push_str("explaintext=1");
29 url 29 url
30} 30}