Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://imgur.com/gallery/QehyF6u
- OpenWith Addon + Youtube-dl
- Note: It's recommended to install FFMPEG (just drop ffmpeg.exe in the same folder as youtube-dl.exe)
- Open With Options > "Choose which items to display:"
- Replace <PATH> with your Download folder
- > it should contain youtube-dl.exe and ffmpeg.exe files
- X: - Change it to the drive/partition letter the PATH folder is on
- Name: YT - bestvideo+audio
- Command: cmd.exe
- Arguments: /c cd "<PATH>" && X: & echo %CD% & youtube-dl.exe ""%s""
- Name: YT - bestvideo+audio
- Command: cmd.exe
- Arguments: /c cd "<PATH>" && X: & echo %CD% & youtube-dl.exe -f bestaudio ""%s""
- Name: YT - BatchDL: ADD Video
- Command: cmd.exe
- Arguments: /c cd "<PATH>" && X: & echo %CD% & echo "%s" >> batchdownload.txt
- Note: batchdownload.txt will contain all URLs to download later via "Batch: Download"
- Name: YT - BatchDL: REMOVE Last Video
- Command: cmd.exe
- Arguments: /c cd "<PATH>" && X: & removelastline.bat batchdownload.txt & echo "Last video was removed from the list!"
- Create removelastline.bat file inside the <PATH> folder
- Contents:
- :: Usage: remlastline.bat <targetFileName>
- echo %1
- del removelastline.temp
- @echo off & setlocal EnableDelayedExpansion
- set row=
- for /F "delims=" %%j in (%1) do (
- if defined row echo.!row!>> removelastline.temp
- set row=%%j
- )
- del %1
- rename removelastline.temp %1
- Name: YT - bestvideo+audio - Batch: Download
- Command: cmd.exe
- Arguments: /c cd "<PATH>" & X: & echo %CD% & youtube-dl.exe --abort-on-error --batch-file batchdownload.txt & echo "Batch download Complete!" & PAUSE
- Name: YT - BatchDL: CLEAR The List
- Command: cmd.exe
- Arguments: /c cd "<PATH>" && X: & del batchdownload.txt & echo "Batch DL list deleted!" & PAUSE
- PS: You can create a youtube-dl config file at %APPDATA%/youtube-dl/config.txt to set global settings.
- My _personal_ config sets the following:
- --rate-limit 4.2M // max download speed
- -f bestvideo[height<=1200]+bestaudio/best
- // first it should try to download FullHD+Bestaudio then if that fails, just download "best"
Add Comment
Please, Sign In to add comment