![]() ![]() exe and run, the filename becomes "videoplayback" which would be the video title if it's taken from the direct download url, and not from the normal youtube url that the script takes it from in the beggining (link=regular youtube link, url=direct video file url) bat file and running the commands on cmd - they both work perfectly, but once it's converted to. ![]() IDMan /d "%url%" /p %folder% /f "%filename%" Youtube-dl -f best -get-filename -o "%(title)s.%(ext)s" "%link%" | clip įor /f %%i in ('powershell -command "Get-Clipboard"') do set filename=%%i Youtube-dl -g -f best %link% | clip įor /f %%i in ('powershell -command "Get-Clipboard"') do set url=%%i Pushd "%~dp0" įor /f %%i in ('powershell -command "Get-Clipboard"') do set link=%%i Script with explanation in brackets : off (FIY, all of the programs I use in the script have their path in the PATH environment variable and are set to run as admin) Then I just need to hit "start download".īut after I convert it to exe (using Advanced BAT to EXE Converter v4.11) it messes up the filename and shows up like this: Is proccessed, then opens an IDM GUI download confirmation window with the set folder and name, in this case "c:\users\username\downloads\It's sodium chloride.mp4" It parses the URL then sends it to IDM with the video's name and extension. I have a batch file that uses youtube-dl to get information from a url then sends it to Internet Download Manager. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |