Skip to content

Commit

Permalink
针对有-items参数时,视频的序号应该取整个合集中的序号,而不是取被下载的第几个 (#1317)
Browse files Browse the repository at this point in the history
* bilibili playlist下载时 LUX will skip files with same names

* 下载playlist列表的时候添加  P1  P2 ... 后缀

* Update bilibili.go 针对有-items参数时,视频的序号应该取整个合集中的序号,而不是取被下载的第几个
  • Loading branch information
leehow1988 authored Feb 21, 2024
1 parent b808f36 commit 3787092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractors/bilibili/bilibili.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func multiEpisodeDownload(url, html string, extractOption extractors.Options, pa
aid: u.Aid,
bvid: u.BVid,
cid: u.Cid,
subtitle: fmt.Sprintf("%s P%d", u.Title, dataIndex+1),
subtitle: fmt.Sprintf("%s P%d", u.Title, index+1),
}
go func(index int, options bilibiliOptions, extractedData []*extractors.Data) {
defer wgp.Done()
Expand Down

0 comments on commit 3787092

Please sign in to comment.