git clone https://github.com/TaizWeb/music-dl
pacman -S youtube-dl ffmpeg
- youtube-dl: Using pip is the preferred way of getting it, can also be obtained from python's website and installed with
pip3 install youtube-dl
- ffmpeg: Can be obtained via package manager or from here
youtube-dl -f bestaudio/best url
youtube-dl -x --audio-format mp3 url
youtube-dl -x --audio-format opus url
youtube-dl -F url
youtube-dl -f 251 url
251= format code 251 webm audio only [en] medium, 129k, webm_dash containervideo@ 0k, opus @129k (48000Hz)
sb3,sb2,sb1,sb0 = storyboardvideo@,48x27,80x45,160x90,320x180
30k, 48k,129k m4a_dash m4a
31k,46k,61k,129k webm_dash opus
yt-dlp -f bestaudio[acodec=opus] -x url
youtube-dl -F https://youtu.be/dQw4w9WgXcQ
Comments
Post a Comment