Skip to content

Commit

Permalink
New safe character for param encoding (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavidsteel committed Mar 5, 2024
1 parent 1c6aed1 commit e2a65db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TikTokApi/tiktok.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2a65db

Please sign in to comment.