diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-07-27 02:35:09 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-07-27 02:35:09 -0500 |
| commit | 12bc9673db25a8f70780d0d13352d1442da4845b (patch) | |
| tree | 124e04340c421ba0436d2a36460ec9801832a1f3 /fetch.sh | |
| parent | 9f2cb990b848e2706ccb9c7c8be3eee28b0257d4 (diff) | |
Diffstat (limited to 'fetch.sh')
| -rwxr-xr-x | fetch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
