diff options
-rw-r--r-- | src/content.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content.rs b/src/content.rs index 6492431..4c71fd0 100644 --- a/src/content.rs +++ b/src/content.rs | |||
@@ -3,7 +3,7 @@ extern crate serde_json; | |||
3 | extern crate cursive; | 3 | extern crate cursive; |
4 | extern crate regex; | 4 | extern crate regex; |
5 | 5 | ||
6 | use cursive::theme::{ BaseColor, Color, Effect, Style }; | 6 | use cursive::theme::Effect; |
7 | use cursive::utils::markup::StyledString; | 7 | use cursive::utils::markup::StyledString; |
8 | use cursive::Cursive; | 8 | use cursive::Cursive; |
9 | use cursive::views::Dialog; | 9 | use cursive::views::Dialog; |
@@ -22,6 +22,7 @@ pub fn query_url_gen(title: &str) -> String { | |||
22 | url.push_str("titles="); | 22 | url.push_str("titles="); |
23 | url.push_str(title); | 23 | url.push_str(title); |
24 | url.push_str("&"); | 24 | url.push_str("&"); |
25 | url.push_str("redirects=1&"); | ||
25 | url.push_str("explaintext=1"); | 26 | url.push_str("explaintext=1"); |
26 | url | 27 | url |
27 | } | 28 | } |