From d8a8001b4121d067937292149a9cb8b20ae73dc2 Mon Sep 17 00:00:00 2001 From: Brian Antunes Date: Tue, 11 Apr 2023 09:18:37 -0400 Subject: [PATCH] Changed url to resolve conflict --- TTS/TikTok.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TTS/TikTok.py b/TTS/TikTok.py index fcb6ce8..e7d2d08 100644 --- a/TTS/TikTok.py +++ b/TTS/TikTok.py @@ -87,7 +87,9 @@ class TikTok: "Cookie": f"sessionid={settings.config['settings']['tts']['tiktok_sessionid']}", } - self.URI_BASE = "https://api16-normal-c-useast1a.tiktokv.com/media/api/text/speech/invoke/" + self.URI_BASE = ( + "https://api16-normal-c-useast1a.tiktokv.com/media/api/text/speech/invoke/" + ) self.max_chars = 200 self._session = requests.Session()