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

View File

@ -1,4 +1,5 @@
#!/bin/ksh
pkill -f "2323:localhost:2323 surfen@65.21.154.173"
sleep 1
#pkill -f "2323:localhost:2323 surfen@65.21.154.173"
#sleep 1
ssh -fN -o ServerAliveInterval=15 -L 2323:localhost:2323 surfen@65.21.154.173
#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 2323:localhost:2323 surfen@65.21.154.173

View File

@ -1,4 +1,6 @@
#!/bin/ksh
pkill -f "7326:localhost:7326 anonicb@slackers.openbsd.org"
sleep 1
#pkill -f "7326:localhost:7326 anonicb@slackers.openbsd.org"
#sleep 1
ssh -fN -o ServerAliveInterval=15 -L 7326:localhost:7326 anonicb@slackers.openbsd.org
#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 7326:localhost:7326 anonicb@slackers.openbsd.org

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" "$@";