Remove quotes
This commit is contained in:
parent
8f08693657
commit
089e2b59bb
2 changed files with 1 additions and 1 deletions
2
classify_videos.sh
Normal file → Executable file
2
classify_videos.sh
Normal file → Executable file
|
@ -2,7 +2,7 @@
|
||||||
while read -r video_id
|
while read -r video_id
|
||||||
do
|
do
|
||||||
echo "Video ID: '${video_id}'"
|
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
|
if [ -n "${channel}" ] && [ "${channel}" != "null" ]; then
|
||||||
echo "${channel}"
|
echo "${channel}"
|
||||||
if [ -n "${video_id}" ] && [ "${video_id}" != "null" ]; then
|
if [ -n "${video_id}" ] && [ "${video_id}" != "null" ]; then
|
||||||
|
|
0
wrapper.sh
Normal file → Executable file
0
wrapper.sh
Normal file → Executable file
Loading…
Reference in a new issue