Last active
August 28, 2022 19:59
-
-
Save dtsdwarak/b65ce205a59d95bd0739fcdb2f33dfec to your computer and use it in GitHub Desktop.
youtube-dl shortcuts
This file contains 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
#! /bin/bash | |
# Download an entire channel | |
# https://askubuntu.com/a/856913 | |
youtube-dl \ | |
-f best \ | |
-ciw \ | |
--playlist-reverse \ | |
-o "%(playlist_index)s - %(title)s.%(ext)s - %(channel)s" \ | |
-v <youtube-channel-url> | |
# To download a playlist | |
youtube-dl \ | |
-f best \ | |
-ciw \ | |
--yes-playlist \ | |
-o "%(playlist_index)s - %(title)s.%(ext)s" \ | |
'<youtube-playlist-url>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment