Last active
June 8, 2023 18:28
-
-
Save i2van/06e34143f615c3a74d91b949d842af9b to your computer and use it in GitHub Desktop.
Windows batch script for downloading video using yt-dlp
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
:: Windows batch script for downloading video using yt-dlp. | |
:: 1. Get yt-dlp here: https://github.com/yt-dlp/yt-dlp/releases | |
:: 2. Put links (one per line) in %this_script_name%.txt next to script. | |
@echo off | |
::set update=stable@2023.03.04 | |
set update=nightly | |
start "Downloading from YouTube..." cmd /k yt-dlp --update-to %update% ^&^& yt-dlp -R 30 -o "%%(upload_date)s - %%(title)s [%%(duration_string)s].%%(ext)s" -a "%~dpn0.txt" ^&^& title Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment