Last active
January 28, 2019 15:34
-
-
Save ali2077/3b7446db83c56e5ca8df5413690250bb to your computer and use it in GitHub Desktop.
Youtube-dl_best_usage: Productivity Tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$youtube-dl ....... | |
--prefer-ffmpeg | |
--skip-download | |
--embed-thumbnail | |
--skip-download Do not download the video | |
Download only the videos uploaded in the last 6 months | |
$youtube-dl --dateafter now-6months --add-metadata (https://soundcloud. youtube. etc.) | |
Download best audio from a video/audio file, convert it to mp3, download and add metadata and thumbnail of the Original video to the new mp3 file. | |
$youtube-dl -f bestaudio --extract-audio --audio-format mp3 --prefer-ffmpeg --add-metadata --embed-thumbnail -i (URL) | |
Download all playlists of YouTube channel/user keeping each playlist in separate directory: | |
$youtube-dl -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/user/TheLinuxFoundation/playlists | |
Download all playlists and extract audio in mp3 format, all in one command. | |
$youtube-dl -f bestaudio --extract-audio --audio-format mp3 --add-metadata --embed-thumbnail -i -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/user/TheLinuxFoundation/playlists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment