Categories
Упътвания

Сваляне на аудио с yt-dlp

Инсталиране на yt-dlp:

pip3 install --upgrade yt-dlp

Сваляне на аудио с най-добро качество (ba или bestaudio):

yt-dlp -f "ba[ext=m4a]" https://youtu.be/7bW0vKt-rAo
Categories
Raspberry Pi Упътвания

Сваляне на видео от YouTube

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo nano /etc/youtube-dl.conf
# Lines starting with # are comments

# Always extract audio
#-x

# Do not copy the mtime
--no-mtime

# Use this proxy
#--proxy 127.0.0.1:3128

# Save all videos under YouTube directory in your external hdd mount directory
-o ~/mnt/library/youtube/%(title)s.%(ext)s
ctrl-x
y
youtube-dl https://www.youtube.com/watch?v=kc_9RT4q8YA