Update 2023-08-23 16:53 OpenBSD/amd64-dalek

This commit is contained in:
c0dev0id
2023-08-23 16:53:46 +02:00
parent f750eb9f26
commit 2df86f9ee6
3 changed files with 8 additions and 5 deletions

2
.kshrc
View File

@@ -507,7 +507,7 @@ doupload-gopher() {
########################################################################
YTDL_AGENT="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4506.0 Safari/537.36"
YTDL_OPTS="-i --no-part --cookies-from-browser chromium --abort-on-unavailable-fragment --buffer-size 16K --fragment-retries 100 --http-chunk-size 10M"
YTDL_OPTS="-i --no-part --abort-on-unavailable-fragment --buffer-size 16K --fragment-retries 100 --http-chunk-size 10M"
ytdl() {
local FMT="bestvideo[ext=mp4][height<=1080]+bestaudio[ext=m4a]/best[ext=mp4]/best"
yt-dlp $YTDL_OPTS --user-agent "$YTDL_AGENT" -f "$FMT" "$@";