From ac2921697311ba4b1738e281b4482bc7494d06ac Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 11 Sep 2019 15:28:50 +1000 Subject: [PATCH] make scrape.py commit more frequencly --- scrape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape.py b/scrape.py index e8151cb..790eaa7 100644 --- a/scrape.py +++ b/scrape.py @@ -79,7 +79,7 @@ def scrape_posts(account): else: j = r.json() - db.commit() + db.commit() c.close() print("Establishing DB connection")