nilaoda / BBDown

Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
MIT License
10.02k stars 1.29k forks source link

程序报错: Arg_KeyNotFound #695

Closed iHuer closed 1 year ago

iHuer commented 1 year ago

1. 你使用的BBDown版本是什么?(指明 Release / Actions / DotnetTool)

Release 1.6.1

2. 你在什么系统使用本软件?(Win/Linux/Mac)

Windows 11

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

BBDown https://www.bilibili.com/video/BV1tG4y1B7xU --debug

4. 遇到了什么问题?

程序报错: Arg_KeyNotFound

5. 运行截图(最好开启--debug;注意自行将Cookie/Token等敏感信息隐藏)

[2023-08-23 14:54:06.625] - 加载配置文件: 隐藏
[2023-08-23 14:54:06.626] - 新的命令行参数: https://www.bilibili.com/video/BV1tG4y1B7xU --debug --multi-thread --skip-cover --skip-ai --cookie SESSDATA=隐藏
[2023-08-23 14:54:06.626] - 获取网页重定向地址: Url: https://github.com/nilaoda/BBDown/releases/latest, Headers: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.920 Safari/537.36
Accept-Encoding: gzip, deflate
Cache-Control: no-cache
[2023-08-23 14:54:06.634] - 切换工作目录至:隐藏
[2023-08-23 14:54:06.634] - AppDirectory: 隐藏
[2023-08-23 14:54:06.635] - 运行参数:{"Url":"https://www.bilibili.com/video/BV1tG4y1B7xU","UseTvApi":false,"UseAppApi":false,"UseIntlApi":false,"UseMP4box":false,"EncodingPriority":null,"DfnPriority":null,"OnlyShowInfo":false,"ShowAll":false,"UseAria2c":false,"Interactive":false,"HideStreams":false,"MultiThread":true,"VideoOnly":false,"AudioOnly":false,"DanmakuOnly":false,"CoverOnly":false,"SubOnly":false,"Debug":true,"SkipMux":false,"SkipSubtitle":false,"SkipCover":true,"ForceHttp":true,"DownloadDanmaku":false,"SkipAi":true,"VideoAscending":false,"AudioAscending":false,"AllowPcdn":false,"ForceReplaceHost":true,"FilePattern":"","MultiFilePattern":"","SelectPage":"","Language":"","UserAgent":"","Cookie":"SESSDATA=隐藏","AccessToken":"","Aria2cArgs":"","WorkDir":"隐藏","FFmpegPath":"","Mp4boxPath":"","Aria2cPath":"","UposHost":"","DelayPerPage":"0","Host":"api.bilibili.com","EpHost":"api.bilibili.com","Area":"","ConfigFile":null,"Aria2cProxy":"","OnlyHevc":false,"OnlyAvc":false,"OnlyAv1":false,"AddDfnSubfix":false,"NoPaddingPageNum":false,"BandwithAscending":false}
[2023-08-23 14:54:06.635] - 获取网页内容: Url: https://api.bilibili.com/x/web-interface/nav, Headers: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.920 Safari/537.36
Accept-Encoding: gzip, deflate
Cookie: SESSDATA=隐藏
Referer: https://www.bilibili.com/
Cache-Control: no-cache
[2023-08-23 14:54:06.824] - Response: {隐藏}
[2023-08-23 14:54:06.825] - wbi: 隐藏
[2023-08-23 14:54:06.825] - 检测账号登录...
[2023-08-23 14:54:06.825] - 获取aid...
[2023-08-23 14:54:06.825] - 获取网页重定向地址: Url: https://www.bilibili.com/video/av815782998/, Headers: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.920 Safari/537.36
Accept-Encoding: gzip, deflate
Cache-Control: no-cache
[2023-08-23 14:54:07.144] - Location: https://www.bilibili.com/festival/genshin2nd?bvid=BV1tG4y1B7xU&
[2023-08-23 14:54:07.144] - 获取aid结束: ep:
[2023-08-23 14:54:07.144] - 获取视频信息...
[2023-08-23 14:54:07.144] - 获取网页内容: Url: https://api.bilibili.com/pgc/view/web/season?ep_id=, Headers: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.920 Safari/537.36
Accept-Encoding: gzip, deflate
Cookie: SESSDATA=隐藏
Referer: https://www.bilibili.com/
Cache-Control: no-cache
[2023-08-23 14:54:07.257] - Response: {"code":-404,"message":"啥都木有"}
System.Collections.Generic.KeyNotFoundException: Arg_KeyNotFound
   at BBDown.Core.Fetcher.BangumiInfoFetcher.<FetchAsync>d__0.MoveNext() + 0x620
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() + 0x23
   at BBDown.Program.<DoWorkAsync>d__14.MoveNext() + 0x19fe
Aggnem commented 8 months ago

[2024-04-08 10:59:09.173] - Response: {"code":-400,"message":"请求错误","ttl":1} System.Collections.Generic.KeyNotFoundException: Arg_KeyNotFound at BBDown.Core.Fetcher.NormalInfoFetcher.d0.MoveNext() + 0xdd9 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() + 0x23 at BBDown.Program.d14.MoveNext() + 0x19fe