Open mzfe opened 2 years ago
怪异的需求……不过程序本身是命令行程序,可以尝试使用外部程序/脚本隐式调用
比如vbs
dim objShell
set objShell=wscript.createObject("WScript.Shell")
objShell.currentdirectory = createobject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path
iReturnCode=objShell.Run("test.bat",0,TRUE)
test.bat
N_m3u8DL-CLI.exe "https://bitdash-a.akamaihd.net/content/sintel/hls/video/500kbit.m3u8" --enableDelAfterDone --disableDateInfo --noProxy
可以搞个参数来隐藏窗口,对于后台自动抓数据的人来说有用。