mirror of
https://github.com/raynormast/fake-firehose.git
synced 2024-12-23 00:08:03 +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"`
|
today=`date +"%Y%m%d"`
|
||||||
curl -X "GET" "https://$host/api/v1/streaming/public" \
|
curl -X "GET" "https://$host/api/v1/streaming/public" \
|
||||||
--no-progress-meter | \
|
--no-progress-meter | \
|
||||||
|
tee -a "$today.json" | \
|
||||||
grep url | \
|
grep url | \
|
||||||
sed 's/data://g' | \
|
sed 's/data://g' | \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue