Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

程序报错: Arg_KeyNotFound #695

Closed
iHuer opened this issue Aug 23, 2023 · 1 comment · Fixed by #697
Closed

程序报错: Arg_KeyNotFound #695

iHuer opened this issue Aug 23, 2023 · 1 comment · Fixed by #697
Labels
bug Something isn't working

Comments

@iHuer
Copy link

iHuer commented Aug 23, 2023

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
@nilaoda nilaoda added the bug Something isn't working label Aug 23, 2023
nilaoda added a commit that referenced this issue Aug 23, 2023
@Aggnem
Copy link

Aggnem commented Apr 8, 2024

[2024-04-08 10:59:09.173] - Response: {"code":-400,"message":"请求错误","ttl":1}
System.Collections.Generic.KeyNotFoundException: Arg_KeyNotFound
at BBDown.Core.Fetcher.NormalInfoFetcher.d__0.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.d__14.MoveNext() + 0x19fe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants