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] 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