queueandnotify (376B)
1 #!/usr/bin/env sh 2 # Podboat sucks. This script replaces it. 3 # It reads the newsboat queue, queuing downloads with taskspooler. 4 # It also removes the junk from extentions. 5 queuefile="$HOME/.local/share/newsboat/queue" 6 7 while read -r line; do 8 [ -z "$line" ] && continue 9 url="$(echo "$line" | awk '{print $1}')" 10 qndl "$url" "curl -LO" 11 done < "$queuefile" 12 13 echo > "$queuefile"