Update 2023-08-23 16:53 OpenBSD/amd64-dalek
This commit is contained in:
parent
f750eb9f26
commit
2df86f9ee6
@ -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
|
||||
|
@ -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
2
.kshrc
@ -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" "$@";
|
||||
|
Loading…
Reference in New Issue
Block a user