mirror of
https://github.com/raynormast/fake-firehose.git
synced 2024-12-22 15:57:38 +00:00
Save raw json stream to disk
This commit is contained in:
parent
a513670179
commit
3ba88451bb
1 changed files with 1 additions and 0 deletions
|
@ -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' | \
|
||||
|
||||
|
|
Loading…
Reference in a new issue