Updated
This commit is contained in:
parent
0b8b53bac0
commit
77167e33a4
11 changed files with 112 additions and 87 deletions
25
.zshrc
25
.zshrc
|
|
@ -172,44 +172,44 @@ alias sshpi="ssh patrick@65.108.82.60 -p 919"
|
|||
alias sshi="ssh iipsadmin@192.168.7.163"
|
||||
|
||||
ytf() {
|
||||
yt-dlp --list-formats $1 --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp --list-formats $1 --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytd() {
|
||||
yt-dlp -f 'bv*[height=1080]+ba' $1 -o '~/Videos/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'bv*[height=1080]+ba' $1 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytdh() {
|
||||
yt-dlp -f 'bv*[height<='$1']+ba' $2 -o '~/Videos/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'bv*[height<='$1']+ba' $2 -o '~/Downloads/Youtube/%(title)s.%(ext)s' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytd4() {
|
||||
yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format $1 -o '~/Videos/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format $1 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytd4h() {
|
||||
yt-dlp -f 'bv[height='$1'][ext=mp4]+ba[ext=m4a]' --merge-output-format $2 -o '~/Videos/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'bv[height='$1'][ext=mp4]+ba[ext=m4a]' --merge-output-format $2 -o '~/Downloads/Youtube/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytda() {
|
||||
yt-dlp -f 'ba' -x --audio-format wav $1 -o '/home/patrick/Downloads/%(title)s.wav' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'ba' -x --audio-format wav $1 -o '/home/patrick/Downloads/Youtube Music/%(title)s.wav' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytdaf() {
|
||||
yt-dlp -f 'ba' -x --audio-format $2 $1 -o "'/home/patrick/Downloads/%(title)s.'$2" --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'ba' -x --audio-format $2 $1 -o "'/home/patrick/Downloads/Youtube Music/%(title)s.'$2" --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
|
||||
}
|
||||
|
||||
ytdm() {
|
||||
yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format mp4 $1 -o '~/Videos/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt
|
||||
yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --merge-output-format mp4 $1 -o '~/Videos/%(title)s.mp4' --cookies-from-browser firefox --cookies /home/patrick/Documents/cookies.txt --js-runtimes node
|
||||
}
|
||||
|
||||
ytv() {
|
||||
yt-dlp $1 -o "/home/patrick/Videos/%(title)s.mp4"
|
||||
yt-dlp $1 -o "/home/patrick/Downloads/%(title)s.mp4"
|
||||
}
|
||||
|
||||
ytvo() {
|
||||
yt-dlp $1 -o "/home/patrick/Videos/"$2".mp4"
|
||||
yt-dlp $1 -o "/home/patrick/Downloads/"$2".mp4"
|
||||
}
|
||||
|
||||
nmaps() {
|
||||
|
|
@ -285,6 +285,11 @@ alias wifil="nmcli c up uuid 5d189afa-765b-47ed-a323-ec3559177867"
|
|||
|
||||
alias homer="nvim ~/dotfiles/.config/homer/config.yml"
|
||||
|
||||
alias fvmg="fvm flutter pub get"
|
||||
alias fvma="fvm flutter pub add"
|
||||
alias fvmr="fvm flutter pub remove"
|
||||
alias fvmu="fvm flutter pub upgrade"
|
||||
|
||||
homerlogo() {
|
||||
sudo rsync -avhP $1 ~/dotfiles/.config/homer/tools/$1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue