diff --git a/pytchat/core/pytchat.py b/pytchat/core/pytchat.py index 361057d..0cb76d4 100644 --- a/pytchat/core/pytchat.py +++ b/pytchat/core/pytchat.py @@ -168,7 +168,7 @@ class PytchatCore: with httpx.Client(http2=True) as client: try: response = client.post(self._fetch_url, json=param) - livechat_json = json.loads(response.text, encoding='utf-8') + livechat_json = json.loads(response.text) break except (json.JSONDecodeError, httpx.ConnectTimeout, httpx.ReadTimeout, httpx.ConnectError) as e: err = e