YouTube-DL - Can't get renamer script to work
Posted: 2020-08-11 20:31:34
I'm trying to get this script working for YouTube-DL where it asks me to paste a link to download. The script works but I can't get the Renamer line at the end to actually rename the file like it's supposed to.
Do you know how to get it working? I got it working when using a similar script as below to download a whole channel but I'm trying to get the above script working for renaming a file after a single video has been downloaded with the script above:
Code: Select all
u/echo off
cd /D "%~dp0"
setlocal enableDelayedExpansion
set /p video="Paste the video link to download: "
youtube-dl ^
-f ("bestvideo[width>=1920]"/bestvideo)+bestaudio/best ^
--o "L:/YouTube/Unsorted/%%(title)s.%%(ext)s" ^
!video!
Renamer.exe -b RenamerBatchFile.arb -afr L:/YouTube/Unsorted/*.* -g -x
PAUSE
Code: Select all
cd /D "%~dp0"
youtube-dl -f ("bestvideo[width>=1920]"/bestvideo)+bestaudio/best https://www.youtube.com/c/markdice/videos
-o "L:/YouTube/Politics/%%(title)s.%%(ext)s"
Renamer.exe -b RenamerBatchFile.arb -afr L:/YouTube/*.* -g -x
PAUSE