From 6b5aef215dff59274e8ab34ac93828e8f39435ba Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 15 Oct 2022 20:52:42 +0200 Subject: [PATCH] sed -i "s~TSVUID~VUID~g" --- crowdbunker.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crowdbunker.sh b/crowdbunker.sh index 7d4ae4d..45b8b32 100755 --- a/crowdbunker.sh +++ b/crowdbunker.sh @@ -306,10 +306,9 @@ echo "########################################################################## if [[ ! $IsThere ]]; then echo "Add $INDEX to ~/.zen/bunkerbox/cache/$VUID/media/history.json" ## history.json Videos.link is the HTML code displayed in index.html with pagination.js (related to) - cat ~/.zen/bunkerbox/history.json | jq '.Videos += [{"link": "
'"'_TITLE_'"'"}]' > ~/.zen/bunkerbox/cache/$VUID/media/history.json -# sed -i "s~_TSVUID_~$TS$VUID~g" ~/.zen/bunkerbox/cache/$VUID/media/history.json # Makes different chain for each creator !! + cat ~/.zen/bunkerbox/history.json | jq '.Videos += [{"link": "
'"'_TITLE_'"'"}]' > ~/.zen/bunkerbox/cache/$VUID/media/history.json sed -i "s~_INDEX_~$INDEX~g" ~/.zen/bunkerbox/cache/$VUID/media/history.json - sed -i "s~_TSVUID_~$VUID~g" ~/.zen/bunkerbox/cache/$VUID/media/history.json + sed -i "s~_VUID_~$VUID~g" ~/.zen/bunkerbox/cache/$VUID/media/history.json sed -i "s~_TITLE_~$TITLE~g" ~/.zen/bunkerbox/cache/$VUID/media/history.json # COULD BE DONE LIKE THAT