From 9525c559ddf86fb2b2fb7358e4757d9ca57e0d0f Mon Sep 17 00:00:00 2001 From: Oto Imrich Date: Thu, 28 Sep 2023 12:00:28 +0200 Subject: [PATCH] minor correction --- scraper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scraper.py b/scraper.py index 5fa6e24..9b2d5d2 100644 --- a/scraper.py +++ b/scraper.py @@ -46,8 +46,7 @@ def process_records(records, thread): :param thread: thread id of processing thread """ data = [] - #for i in tqdm(range(len(records)), desc=f"thread {thread}"): - for i in tqdm(range(1), desc=f"thread {thread}"): + for i in tqdm(range(len(records)), desc=f"thread {thread}"): record = process_record(records[i]) data.append(InsertOne(record)) collection = connect_db()