This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
♻️ refactor: refactor main and support text input #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
重构主函数,并支持同时下载多个链接
closes #46 #25
如何下载多个文件
现在参数不仅支持 url 链接,还支持列表文件
urllist.txt
文件:命令如下
此外还增加了从标准输入读取的支持,这样你可以通过管道的方式非常方便地使用
值得注意的是,文件中所使用的局部参数将覆盖全局参数,比如这里第二个视频的参数仍是 30280
概述
本 PR 的类型(至少选择一个)
PR 状态
WIP,由于本版本修改较多,尚需要比较充分的测试,部分细节仍需补足,另外由于近期空闲时间较少,本 PR 可能需要过很久才能合并
对 Windows 支持尚需测试(目测某些地方是不支持的)