From c88fd8bc4eddefaa8b494b279ee9a4eca8ad6cc3 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 8 Mar 2020 14:31:24 +0900 Subject: [PATCH 1/2] Fix resume --- pytchat/core_async/livechat.py | 1 + pytchat/core_multithread/livechat.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pytchat/core_async/livechat.py b/pytchat/core_async/livechat.py index 64529f4..48dd526 100644 --- a/pytchat/core_async/livechat.py +++ b/pytchat/core_async/livechat.py @@ -238,6 +238,7 @@ class LiveChatAsync: livechat_json = (await self._get_livechat_json( reload_continuation, session, headers)) contents = self._parser.get_contents(livechat_json) + self._is_replay = True self._first_fetch = False return contents diff --git a/pytchat/core_multithread/livechat.py b/pytchat/core_multithread/livechat.py index 401d7af..3e5d133 100644 --- a/pytchat/core_multithread/livechat.py +++ b/pytchat/core_multithread/livechat.py @@ -233,6 +233,7 @@ class LiveChat: livechat_json = (self._get_livechat_json( reload_continuation, session, headers)) contents = self._parser.get_contents(livechat_json) + self._is_replay = True self._first_fetch = False return contents From 425264327315e204cd5d31bab1713c3951393947 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 8 Mar 2020 14:31:49 +0900 Subject: [PATCH 2/2] Increment version --- pytchat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytchat/__init__.py b/pytchat/__init__.py index 267413d..9b9f322 100644 --- a/pytchat/__init__.py +++ b/pytchat/__init__.py @@ -2,7 +2,7 @@ pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup. """ __copyright__ = 'Copyright (C) 2019 taizan-hokuto' -__version__ = '0.0.6.2' +__version__ = '0.0.6.3' __license__ = 'MIT' __author__ = 'taizan-hokuto' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'