Skip to content

Instantly share code, notes, and snippets.

@lukanz
Created July 30, 2021 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukanz/d363e45d8880787acc1232e107143b92 to your computer and use it in GitHub Desktop.
Save lukanz/d363e45d8880787acc1232e107143b92 to your computer and use it in GitHub Desktop.
@echo off
chcp 65001 >NUL
setlocal EnableDelayedExpansion
title Youtube-dl Downloader
echo ---------------------------------------------------------
echo Paste URL below (right click - Paste) and press Enter
echo --------------------------------------------------------
echo.
echo.
set /p url="----> URL: "
start youtube-dl --no-part -o "%~dp0\DL\%%(title)s_%random%.%%(ext)s" %url%
::: Using aria2c as downloader :::
:: start youtube-dl --downloader aria2c --no-part -o "%~dp0\DL\%%(title)s_%random%.%%(ext)s" %url%
echo.
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment