From 12bc9673db25a8f70780d0d13352d1442da4845b Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Mon, 27 Jul 2026 02:35:09 -0500 Subject: fixed fetch script from previous commit --- fetch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fetch.sh') diff --git a/fetch.sh b/fetch.sh index fa1bb70..d509fc7 100755 --- a/fetch.sh +++ b/fetch.sh @@ -21,9 +21,9 @@ if [ "$1" ]; then i=1 max=$(( $(wc -l "$file" | sed 's/ .*//g') )) while :; do - printf -- "insert into ytlist values('%s','%s','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" + printf -- "insert into ytlist values('%s','%s','','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" printf "\n" - printf -- "insert into ytlist values('%s','%s','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" | sqlite3 ./youtube_stuffs.db + printf -- "insert into ytlist values('%s','%s','','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" | sqlite3 ./youtube_stuffs.db printf "insert: %s\n" "$i" i=$((i+1)) if [ $i -gt $max ]; then -- cgit v1.3