summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/downloader/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloader/__init__.py b/src/downloader/__init__.py
index 340ca7b..15fba41 100644
--- a/src/downloader/__init__.py
+++ b/src/downloader/__init__.py
@@ -92,7 +92,7 @@ class WikimediaAPI():
92 "action": "query", 92 "action": "query",
93 "list": "recentchanges", 93 "list": "recentchanges",
94 "format": self.return_format, 94 "format": self.return_format,
95 "namespace": rcnamespaces[namespace], 95 "rcnamespace": rcnamespaces[namespace],
96 } 96 }
97 url_params_str = urllib.parse.urlencode(url_params).encode("utf8") 97 url_params_str = urllib.parse.urlencode(url_params)
98 return urllib.parse.urljoin(self.endpoint, "?" + url_params_str) 98 return urllib.parse.urljoin(self.endpoint, "?" + url_params_str)