DESC crashing json

This commit is contained in:
fred 2022-10-06 16:30:23 +02:00
parent b86573207f
commit 9773538342
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ for yurl in $(cat ~/.zen/tmp/tiddlers.json | jq -r '.[].text' | grep 'http'); do
MIME=$(file --mime-type "$HOME/.zen/tmp/tube/$ZFILE" | rev | cut -d ' ' -f 1 | rev)
DESC=$(yt-dlp --print "%(description)s" "${yurl}")
TEXT="<video controls width=360><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1>"${ZFILE}"</h1>"${DESC}""
# DESC=$(yt-dlp --print "%(description)s" "${yurl}")
TEXT="<video controls width=360><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1>"${ZFILE}"</h1>"
echo "Creating Youtube tiddler"
echo $TEXT