aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2018-06-18 17:51:57 +0100
committerNerdyPepper <[email protected]>2018-06-18 17:51:57 +0100
commit07e74a1e49e3b8f9d54512ff6e308dbb48fdeeae (patch)
treeaf28b13864b33637509a2571eb14b6d36fc9681d /src
parent938423224b0cfed3d7a36494bdf56b62e186b1c1 (diff)
Add url generator
Diffstat (limited to 'src')
-rw-r--r--src/content.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/content.rs b/src/content.rs
index 36d4da6..67e8d24 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -1,6 +1,5 @@
1pub fn url_gen(title: &str) -> String { 1pub fn url_gen(title: &str) -> String {
2 2
3// /w/api.php?action=query&format=json&prop=extracts&titles=rust&explaintext=1
4 title.replace(" ", "%20"); 3 title.replace(" ", "%20");
5 4
6 // query config 5 // query config