nilaoda / N_m3u8DL-CLI

[.NET] m3u8 downloader 开源的命令行m3u8/HLS/dash下载器,支持普通AES-128-CBC解密,多线程,自定义请求头等. 支持简体中文,繁体中文和英文. English Supported.
https://nilaoda.github.io/N_m3u8DL-CLI/
MIT License
14.14k stars 2.14k forks source link

可以隐藏窗口吗? #594

Open mzfe opened 2 years ago

mzfe commented 2 years ago

可以搞个参数来隐藏窗口,对于后台自动抓数据的人来说有用。

nilaoda commented 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