README: sfeed_download: change youtube-dl to yt-dlp - sfeed - RSS and Atom pars… | |
git clone git://git.codemadness.org/sfeed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0c938df27bf335fb290d6ea3612f5b397ed3da56 | |
parent f11a83207e85e9007cf908a50318d50ef1e7bab9 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 6 Apr 2023 20:22:54 +0200 | |
README: sfeed_download: change youtube-dl to yt-dlp | |
This is an active maintained fork. | |
Diffstat: | |
M README | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/README b/README | |
@@ -771,7 +771,7 @@ arguments are specified then the data is read from stdin. | |
#!/bin/sh | |
# sfeed_download: downloader for URLs and enclosures in sfeed(5) files. | |
- # Dependencies: awk, curl, flock, xargs (-P), youtube-dl. | |
+ # Dependencies: awk, curl, flock, xargs (-P), yt-dlp. | |
cachefile="${SFEED_CACHEFILE:-$HOME/.sfeed/downloaded_urls}" | |
jobs="${SFEED_JOBS:-4}" | |
@@ -791,7 +791,7 @@ arguments are specified then the data is read from stdin. | |
fetch() { | |
case "$1" in | |
*youtube.com*) | |
- youtube-dl "$1";; | |
+ yt-dlp "$1";; | |
*.flac|*.ogg|*.m3u|*.m3u8|*.m4a|*.mkv|*.mp3|*.mp4|*.wav|*.webm) | |
# allow 2 redirects, hide User-Agent, connect timeout … | |
curl -O -L --max-redirs 2 -H "User-Agent:" -f -s --con… |