youtube-dl: MP3 nom download
poH law' youtube-dl tool Dun vIlo'. Sovbe'DI': website law' Daq video/music download. Qu'mey law' 'ach jIH MP3 neH, MKV WEBM MP4 pagh. nuq command:
youtube-dl -x --audio-format mp3 --audio-quality 0 "LINK"
Qatlh pagh? 'ach jIH "tIn" vIlaj. Dun:
youtube-dl-mp3 LINK
link youtube-dl Daq "pipe" vaj Qatlh pagh:
1. .bash_profile choH
.bash_profile yIchoH. console yIpoSmoH 'ej yIghItlh
nano ~/.bash_profile
(pagh ghaj vaj chenmoH). nano pagh ghaj vaj install pagh vi lo'. naDev line chel:
source "/Users/$USER/.bash_functions"
.bash_profile console Quch Hoch load 'ej Qu'. "source" file chel (= file pIm load): ".bash_functions".
2. .bash_functions chenmoH
console Daq yIghItlh:
nano ~/.bash_functions
'ej line chel
youtube-dl-mp3() { youtube-dl -x --audio-format mp3 --audio-quality 0 "$1"; }
console DaH youtube-dl-mp3 command Sov. URL video nob 'ej youtube-dl Qu'.
3. .bash_profile choH
.bash_profile choHta' load:
source ~/.bash_profile
pagh console restart.
4. yIQoy!
terminal Daq command yIghItlh:
youtube-dl-mp3 LINK
(LINK video link choH) 'ej: download MP3 file Daq Qu' Dun.