From 8800e61b603d47b1f86aa14c9a18b022c400b4b8 Mon Sep 17 00:00:00 2001 From: Hirotaka Aoki <113173839+aoki-h-jp@users.noreply.github.com> Date: Fri, 1 Sep 2023 15:20:42 +0900 Subject: [PATCH] Add downloaded_list --- binance_bulk_downloader/downloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binance_bulk_downloader/downloader.py b/binance_bulk_downloader/downloader.py index bf73b1d..ec07a28 100644 --- a/binance_bulk_downloader/downloader.py +++ b/binance_bulk_downloader/downloader.py @@ -129,6 +129,7 @@ def __init__( self._timeperiod_per_file = timeperiod_per_file self.marker = None self.is_truncated = True + self.downloaded_list = [] def _check_params(self) -> None: """ @@ -330,3 +331,4 @@ def run_download(self): ): with ThreadPoolExecutor() as executor: executor.map(self._download, prefix_chunk) + self.downloaded_list.extend(prefix_chunk)