nilaoda / BBDown

Bilibili Downloader. 一款命令行式哔哩哔哩下载器.
MIT License
9.81k stars 1.27k forks source link

是否可以将解析选项(-info)返回的信息设置为不显示资源地址/网址 #503

Closed draftman9 closed 1 year ago

draftman9 commented 1 year ago

1-2. BBDown_1.5.4_20221019_win-x64 Release

3. 你使用的完整命令是什么?

BBDown -p 4 -info https://www.bilibili.com/bangumi/play/ss39431?t=3

4. 遇到了什么问题?

返回视频信息时也返回了冗长的网址,但是我觉得那些网址没用,希望可以有屏弊掉的选项。

aliofwind commented 1 year ago

确实截图的时候不方便,我现在是搭配findstr匹配kbps凑合用

draftman9 commented 1 year ago

确实截图的时候不方便,我现在是搭配findstr匹配kbps凑合用

你启发了我! Command: BBDown.exe -info https://www.bilibili.com/video/BV13t4y1H7Qx/ | findstr -v "https"

Output:

BBDown version 1.5.4, Bilibili Downloader.
欢迎到讨论区交流:

[2023-03-19 23:25:21.705] - 加载配置文件: D:\asoftwareapps\BBDown\BBDown.config
[2023-03-19 23:25:21.712] - 加载本地cookie...
[2023-03-19 23:25:21.712] - 检测账号登录...
[2023-03-19 23:25:22.996] - 获取aid...
[2023-03-19 23:25:23.195] - 获取aid结束: 982321546
[2023-03-19 23:25:23.195] - 获取视频信息...
[2023-03-19 23:25:23.287] - 视频标题: 一学就会,看呆学妹?!全键盘操作电脑竟如此丝滑!
[2023-03-19 23:25:23.287] - 发布时间: 06/11/2022 10:10:00
[2023-03-19 23:25:23.287] - P1: [741859724] [鼠标拜拜] [03m30s]
[2023-03-19 23:25:23.287] - 共计 1 个分P, 已选择:ALL
[2023-03-19 23:25:23.287] - 开始解析P1...
[2023-03-19 23:25:23.593] - 共计12条视频流.
                            0. [1080P 高清] [1920x1080] [HEVC] [30.303] [747 kbps] [~19.15 MB]
                            1. [1080P 高清] [1920x1080] [AV1] [30.019] [581 kbps] [~14.89 MB]
                            2. [1080P 高清] [1920x1080] [AVC] [29.412] [354 kbps] [~9.07 MB]
                            3. [720P 高清] [1280x720] [HEVC] [30.303] [340 kbps] [~8.72 MB]
                            4. [720P 高清] [1280x720] [AV1] [30.019] [244 kbps] [~6.25 MB]
                            5. [720P 高清] [1280x720] [AVC] [29.412] [224 kbps] [~5.74 MB]
                            6. [480P 清晰] [852x480] [AV1] [30.019] [202 kbps] [~5.18 MB]
                            7. [480P 清晰] [852x480] [HEVC] [30.303] [194 kbps] [~4.97 MB]
                            8. [480P 清晰] [852x480] [AVC] [29.412] [114 kbps] [~2.92 MB]
                            9. [360P 流畅] [640x360] [AV1] [30.019] [202 kbps] [~5.18 MB]
                            10. [360P 流畅] [640x360] [HEVC] [30.303] [124 kbps] [~3.18 MB]
                            11. [360P 流畅] [640x360] [AVC] [29.412] [62 kbps] [~1.59 MB]
[2023-03-19 23:25:23.598] - 共计3条音频流.
                            0. [M4A] [121 kbps] [~3.10 MB]
                            1. [M4A] [121 kbps] [~3.10 MB]
                            2. [M4A] [67 kbps] [~1.72 MB]
[2023-03-19 23:25:23.599] - 任务完成