diff --git a/src/wikimore/app.py b/src/wikimore/app.py index 6551941..73b17b7 100644 --- a/src/wikimore/app.py +++ b/src/wikimore/app.py @@ -223,7 +223,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/{quote(escape(title.replace(' ', '_'), False))}", + f"{base_url}/api/rest_v1/page/html/{quote(escape(title.replace(' ', '_'), False)).replace('/', '%2F')}", headers=HEADERS, )