From ecd2d130bfb355be9f84f62d5d9801f1f940c9c7 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sat, 12 Sep 2020 01:57:55 +0900 Subject: [PATCH 1/2] Clear set each time the extraction changes --- pytchat/tool/extract/asyncdl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytchat/tool/extract/asyncdl.py b/pytchat/tool/extract/asyncdl.py index c04b687..0a545e7 100644 --- a/pytchat/tool/extract/asyncdl.py +++ b/pytchat/tool/extract/asyncdl.py @@ -53,6 +53,7 @@ def _split(start, end, count, min_interval_sec=120): def ready_blocks(video_id, duration, div, callback): + param_set.clear() if div <= 0: raise ValueError From 820ba35013dfdf57653b345b03cf648be10eccb8 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sat, 12 Sep 2020 02:02:07 +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 d355558..bb241b5 100644 --- a/pytchat/__init__.py +++ b/pytchat/__init__.py @@ -2,7 +2,7 @@ pytchat is a lightweight python library to browse youtube livechat without Selenium or BeautifulSoup. """ __copyright__ = 'Copyright (C) 2019 taizan-hokuto' -__version__ = '0.2.3' +__version__ = '0.2.4' __license__ = 'MIT' __author__ = 'taizan-hokuto' __author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'