diff --git a/pytchat/core_async/replaychat.py b/pytchat/core_async/replaychat.py index 3db6520..80169d8 100644 --- a/pytchat/core_async/replaychat.py +++ b/pytchat/core_async/replaychat.py @@ -171,7 +171,7 @@ class ReplayChatAsync: #pause await self._pauser.get() #resume - #prohibit from blockng by putting None into _pauser. + #prohibit from blocking by putting None into _pauser. self._pauser.put_nowait(None) livechat_json = (await self._get_livechat_json(continuation, session, headers) diff --git a/pytchat/core_multithread/replaychat.py b/pytchat/core_multithread/replaychat.py index 87686a5..a72cf98 100644 --- a/pytchat/core_multithread/replaychat.py +++ b/pytchat/core_multithread/replaychat.py @@ -165,13 +165,12 @@ class ReplayChat: #pause self._pauser.get() #resume - #prohibit from blockng by putting None into _pauser. + #prohibit from blocking by putting None into _pauser. self._pauser.put_nowait(None) livechat_json = ( self._get_livechat_json(continuation, session, headers) ) metadata, chatdata = self._parser.parse( livechat_json ) - #チャットデータを含むコンポーネントを組み立ててbufferに投入する timeout = metadata['timeoutMs']/1000 chat_component = { "video_id" : self.video_id,