From ad9adef467f62e726d9c882eff2b10d9d41e46e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Sverre=20Lien=20Sell=C3=A6g?= Date: Mon, 25 May 2020 18:03:23 +0200 Subject: [PATCH] make sure we print json into stdout --- scrape.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape.js b/scrape.js index c417d24..d3b2dd9 100644 --- a/scrape.js +++ b/scrape.js @@ -210,7 +210,7 @@ const open_browser = async (images_directory) => { }), ); } - console.log(events); + console.log(JSON.stringify(events)); })(); /* (async () => {