This commit is contained in:
taizan-hokuto
2020-01-31 23:38:51 +09:00
parent 956c7e2640
commit 4e47d4a262
2 changed files with 22 additions and 0 deletions

View File

@@ -233,6 +233,11 @@ class LiveChatAsync:
self.video_id, self.seektime, self._topchat_only)
livechat_json = (await self._get_livechat_json(
continuation, session, headers))
reload_continuation = self._parser.reload_continuation(
self._parser.get_contents(livechat_json))
if reload_continuation:
livechat_json = (await self._get_livechat_json(
reload_continuation, session, headers))
contents = self._parser.get_contents(livechat_json)
self._first_fetch = False
return contents