Remove quotes

This commit is contained in:
Antonio J. Delgado 2024-11-18 17:11:40 +02:00
parent 8f08693657
commit 089e2b59bb
2 changed files with 1 additions and 1 deletions

2
classify_videos.sh Normal file → Executable file
View file

@ -2,7 +2,7 @@
while read -r video_id
do
echo "Video ID: '${video_id}'"
channel=$(yt-dlp -J "${video_id}" | jq '.channel')
channel=$(yt-dlp -J "${video_id}" | jq '.channel' | sed 's/"//g')
if [ -n "${channel}" ] && [ "${channel}" != "null" ]; then
echo "${channel}"
if [ -n "${video_id}" ] && [ "${video_id}" != "null" ]; then

0
wrapper.sh Normal file → Executable file
View file