Merge branch 'hotfix/fix_resume'

This commit is contained in:
taizan-hokuto
2020-03-08 14:34:07 +09:00
3 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup. pytchat is a python library for fetching youtube live chat without using yt api, Selenium, or BeautifulSoup.
""" """
__copyright__ = 'Copyright (C) 2019 taizan-hokuto' __copyright__ = 'Copyright (C) 2019 taizan-hokuto'
__version__ = '0.0.6.2' __version__ = '0.0.6.3'
__license__ = 'MIT' __license__ = 'MIT'
__author__ = 'taizan-hokuto' __author__ = 'taizan-hokuto'
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'

View File

@@ -238,6 +238,7 @@ class LiveChatAsync:
livechat_json = (await self._get_livechat_json( livechat_json = (await self._get_livechat_json(
reload_continuation, session, headers)) reload_continuation, session, headers))
contents = self._parser.get_contents(livechat_json) contents = self._parser.get_contents(livechat_json)
self._is_replay = True
self._first_fetch = False self._first_fetch = False
return contents return contents

View File

@@ -233,6 +233,7 @@ class LiveChat:
livechat_json = (self._get_livechat_json( livechat_json = (self._get_livechat_json(
reload_continuation, session, headers)) reload_continuation, session, headers))
contents = self._parser.get_contents(livechat_json) contents = self._parser.get_contents(livechat_json)
self._is_replay = True
self._first_fetch = False self._first_fetch = False
return contents return contents