1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 04:12:44 +00:00
dotfiles/fish/functions/ytflux.fish

6 lines
213 B
Fish
Raw Normal View History

function ytflux
set cat 3
eval curl (cat ~/.miniflux)/entries?status=unread\&category_id=$cat | jq .entries[].url | xargs yt-dlp
eval curl -X PUT (cat ~/.miniflux)/categories/$cat/mark-all-as-read
end