airikr / Download music from YouTube

0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 1 week ago
This bash script downloads a video from YouTube and convert it to MP3.
1 #!/bin/bash
2 yt-dlp \
3 --check-formats \
4 --progress \
5 --ignore-errors \
6 --write-info-json \
7 --add-metadata \
8 --audio-format "mp3" \
9 --extract-audio \
10 --format bestaudio/best \

airikr / domain.conf

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 week ago
My default config file for a domain for Apache.
1 Protocols h2 h2c http/1.1
2
3 <VirtualHost *:80>
4 <Directory /var/www/html/website/>
5 Options Indexes FollowSymLinks MultiViews
6 AllowOverride All
7 Order allow,deny
8 allow from all
9 </Directory>

airikr / Update Docker images/containers

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 week ago
TODO: check if the image is up-to-date or not.
1 #!/bin/bash
2 declare -a arr=("snikket")
3
4 for i in "${arr[@]}"
5 do
6 if [ "$i" = "snikket" ]
7 then
8 echo
9 echo "snikket"
10 echo

airikr / Download videos from YouTube

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 week ago
This script downloads videos from 7 days to today from selected YouTube channels. Downloaded videos will be logged in download.txt to prevent re-downloading them.
1 #!/bin/bash
2 path="/path/to/youtube-folder"
3
4 sudo chown -R user:user "${path}"
5
6 yt-dlp --config-location "ytdlp-config.txt" -a "${path}/channels.txt"
7
8 echo
9 echo "Deleting JSON files"
10 echo
Новее Позже