Update 2025-09-29 07:50 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2025-09-29 07:50:12 +02:00
parent a3954fb9dc
commit 1cc3015bb5
3 changed files with 4 additions and 5 deletions

View File

@ -12,8 +12,6 @@
. ${HOME}/.bin/_config
BROWSER=Firefox
HISTFILE="${HOME}/.browser_history"
touch "${HISTFILE}"
@ -177,6 +175,6 @@ save_history() {
# main program starts here.
read_input
choose_wrapper
choose_browser
#choose_browser
save_history
$BROWSER "$(printf '%s' "${URI}" | sed 's/ /%20/g')" > /home/sdk/browser.log 2>&1 &

View File

@ -14,11 +14,12 @@ fi
cd "$HOME/ytdl/$1/"
shift
yt-dlp \
--print filename \
--cookies-from-browser firefox \
--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" \
--preset-alias mp4 \
--embed-metadata \
--embed-subs \
--restrict-filenames \
-o "%(uploader)s/%(playlist)s/%(title)s.%(ext)s" \
-o "%(channel&{} - |)s%(uploader&{} - |)s%(playlist|&{} - )s%(playlist_index&{} - |)s%(title)s.%(ext)s" \
"$@"

2
.kshrc
View File

@ -27,7 +27,7 @@ export LANG LC_MESSAGES LC_NUMERIC LC_TIME
### SOFTWARE PREFERENCES
EDITOR="vim"
VISUAL="vim"
BROWSER="firefox"
BROWSER="firefox --new-window"
PAGER="less"
export EDITOR VISUAL BROWSER PAGER