Created
November 8, 2020 19:41
-
-
Save jtrent238/38ee5735b49210e7022a1ee690162023 to your computer and use it in GitHub Desktop.
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
@echo off | |
cls | |
cd /D "%~dp0" | |
set /p channel="Enter Channel URL: " | |
REM channel=https://www.youtube.com/channel/UCiSE_HQv_u0jP2OEKg8ioug | |
echo Getting stuff ready please wait... | |
powershell -Command "& {wget https://youtube-dl.org/downloads/latest/youtube-dl.exe -OutFile youtube-dl.exe}" | |
powershell -Command "& {wget https://github.com/ShareX/FFmpeg/releases/download/v4.3.1/ffmpeg-4.3.1-win32.zip -OutFile ffmpeg-4.3.1-win32.zip}" | |
powershell -Command "& {Expand-Archive -LiteralPath 'ffmpeg-4.3.1-win32.zip'}" | |
powershell -Command "& {mv ./ffmpeg-4.3.1-win32/ffmpeg.exe ./}" | |
powershell -Command "& {rm ffmpeg-4.3.1-win32}" | |
echo --format ("bestvideo[width>=1920]"/bestvideo)+bestaudio/best>>config.txt | |
echo --restrict-filenames>>config.txt | |
echo --merge-output-format mkv>>config.txt | |
echo --write-description >>config.txt | |
echo --write-info-json >>config.txt | |
echo --write-annotations >>config.txt | |
echo --write-thumbnail >>config.txt | |
echo --all-subs >>config.txt | |
echo --download-archive archive.txt >>config.txt | |
echo --ignore-errors>>config.txt | |
youtube-dl %channel% --output %%(uploader)s/%%(upload_date)s.%%(title)s.%%(id)s.%%(ext)s --config-location config.txt | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment