CurlyWurlies4All@slrpnk.netM to Enshittification@slrpnk.netEnglish · 2 天前YouTube is full of ads.slrpnk.netimagemessage-square189linkfedilinkarrow-up11.27Karrow-down122
arrow-up11.25Karrow-down1imageYouTube is full of ads.slrpnk.netCurlyWurlies4All@slrpnk.netM to Enshittification@slrpnk.netEnglish · 2 天前message-square189linkfedilink
minus-squaregandalf_der_12telinkfedilinkarrow-up6·1 天前no ads on my side either. greetings from the ~/.bin/yt gang. use like yt fHYNyCi2lnA where fHYNyCi2lnA is the youtube video id. #!/usr/bin/bash # usage example: yt fHYNyCi2lnA if [ "$1" = "" ]; then echo "Usage examples:" echo " yt fHYNyCi2lnA" echo " yt https://inv.nadeko.net/watch?v=a1oxZ6RtpPk" exit fi ADDRESS="$1" # change https://inv.nadeko.net/watch?v=a1oxZ6RtpPk to a1oxZ6RtpPk if [[ "$ADDRESS" == *"watch"* ]]; then arr=(${ADDRESS//'v='/ }) ADDRESS="${arr[1]}" fi echo video id: "$ADDRESS" mpv "https://youtube.com/watch?v=%24ADDRESS"
no ads on my side either.
greetings from the
~/.bin/ytgang.use like
yt fHYNyCi2lnAwhere fHYNyCi2lnA is the youtube video id.#!/usr/bin/bash # usage example: yt fHYNyCi2lnA if [ "$1" = "" ]; then echo "Usage examples:" echo " yt fHYNyCi2lnA" echo " yt https://inv.nadeko.net/watch?v=a1oxZ6RtpPk" exit fi ADDRESS="$1" # change https://inv.nadeko.net/watch?v=a1oxZ6RtpPk to a1oxZ6RtpPk if [[ "$ADDRESS" == *"watch"* ]]; then arr=(${ADDRESS//'v='/ }) ADDRESS="${arr[1]}" fi echo video id: "$ADDRESS" mpv "https://youtube.com/watch?v=%24ADDRESS"