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