From 52f00a28f394a64337209839596b4f602223af42 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 12 Sep 2024 20:14:35 +0000 Subject: [PATCH] Refactor school search URLs to non-English characters --- netschoolapi/netschoolapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netschoolapi/netschoolapi.py b/netschoolapi/netschoolapi.py index 69679de..2767de0 100644 --- a/netschoolapi/netschoolapi.py +++ b/netschoolapi/netschoolapi.py @@ -306,7 +306,7 @@ async def schools( resp = await self._wrapped_client.request( requests_timeout, self._wrapped_client.client.build_request( - method="GET", url="schools/search?name=Y", + method="GET", url="schools/search?name=У", ) ) schools = schemas.ShortSchoolSchema().load(resp.json(), many=True)