diff --git a/src/wikimore/app.py b/src/wikimore/app.py index 6a22f0c..febf9e2 100644 --- a/src/wikimore/app.py +++ b/src/wikimore/app.py @@ -269,7 +269,7 @@ def wiki_article( logger.debug(f"Fetching {title} from {base_url}") api_request = urllib.request.Request( - f"{base_url}/api/rest_v1/page/html/{escape(quote(title.replace(" ", "_")), True).replace('/', '%2F')}", + f"{base_url}/api/rest_v1/page/html/{escape(quote(title.replace(' ', '_')), True).replace('/', '%2F')}", headers=HEADERS, )