Jianwu Huang
|
f6ba347718
|
Merge pull request #409 from wmsdsb/fix/bilibili-multipart-p-number-clean
fix(bilibili): 修正分P视频字幕优先链路未传p参数导致取错集
|
2026-06-17 09:58:34 +08:00 |
|
wmsdsb137
|
ab9ca6a026
|
fix: address Copilot review suggestions
- Remove unused Tuple import
- Validate /pN suffix p >= 1
- Reuse resolve_bilibili_short_url in fetch_subtitles
- Deduplicate short URL resolution
|
2026-06-16 21:01:27 +08:00 |
|
wmsdsb137
|
2ba409880e
|
fix(bilibili): 修正分P视频字幕优先链路未传p参数导致取错集
问题:B站分P视频(如62集课程),提交?p=36链接时,
字幕优先链路通过x/web-interface/view API拿cid时未传p参数,
默认取第1集cid,导致生成的是第1集的笔记。
同时yt-dlp正确下载了p36音频,但被跳过。
修复:
- url_parser新增extract_bilibili_p_number()提取URL中的p参数
- bilibili_subtitle的_get_cid()接收p参数,从data.pages[p-1]取对应分P的cid
- fetch_subtitles()调用extract_bilibili_p_number()透传p
|
2026-06-16 20:54:36 +08:00 |
|
Loker
|
7d4573f84e
|
fix(youtube): support shorts urls
|
2026-05-26 17:13:28 +08:00 |
|
Karasukaigan
|
b813d83246
|
fix: 修复B站短链接无法解析的问题
增加了对b23.tv短链接的解析。
|
2025-07-02 15:03:03 +08:00 |
|
Jefferyhcool
|
0e0b8da317
|
first commit
|
2025-04-13 17:44:54 +08:00 |
|