From 3ba88451bb45094eef96c11ce69b22e7cf221f53 Mon Sep 17 00:00:00 2001 From: raynor Date: Sat, 17 Dec 2022 23:17:52 +0000 Subject: [PATCH] Save raw json stream to disk --- get-stream.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/get-stream.sh b/get-stream.sh index f327588..8708ecb 100755 --- a/get-stream.sh +++ b/get-stream.sh @@ -4,6 +4,7 @@ do today=`date +"%Y%m%d"` curl -X "GET" "https://$host/api/v1/streaming/public" \ --no-progress-meter | \ + tee -a "$today.json" | \ grep url | \ sed 's/data://g' | \