Browse Source

add youtube-dl

master
Markus Bergholz 4 years ago
parent
commit
f33cf45ed6
  1. 12
      til.md

12
til.md

@ -79,4 +79,14 @@ Set the cache to timeout after 1 hour (setting is in seconds)
Set default editor
git config --global core.editor "vim"
git config --global core.editor "vim"
# youtube-dl
search and download first match
youtube-dl ytsearch:damniam
set auto id3 tags
youtube-dl --prefer-ffmpeg --embed-thumbnail --add-metadata --metadata-from-title "%(artist)s - %(title)s" --audio-quality 0 --audio-format mp3 --extract-audio https://www.youtube.com/watch?v=mvK_5nNPKr8
Loading…
Cancel
Save