From e2a65dbdda72418376df3337e01cc038c6e40b25 Mon Sep 17 00:00:00 2001 From: Ben Steel Date: Tue, 5 Mar 2024 16:53:19 +0100 Subject: [PATCH] New safe character for param encoding (#1122) --- TikTokApi/tiktok.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TikTokApi/tiktok.py b/TikTokApi/tiktok.py index 93ef7c9a..893e342e 100644 --- a/TikTokApi/tiktok.py +++ b/TikTokApi/tiktok.py @@ -413,7 +413,7 @@ async def make_request( ) params["msToken"] = ms_token - encoded_params = f"{url}?{urlencode(params, quote_via=quote)}" + encoded_params = f"{url}?{urlencode(params, safe='=', quote_via=quote)}" signed_url = await self.sign_url(encoded_params, session_index=i) retry_count = 0