Skip to content

Commit

Permalink
解决 bilibili 下载playlist时 LUX will skip files with same names (#1316)
Browse files Browse the repository at this point in the history
* bilibili playlist下载时 LUX will skip files with same names

* 下载playlist列表的时候添加  P1  P2 ... 后缀
  • Loading branch information
leehow1988 authored Feb 20, 2024
1 parent 1178e5f commit b808f36
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: u.Title,
subtitle: fmt.Sprintf("%s P%d", u.Title, dataIndex+1),
}
go func(index int, options bilibiliOptions, extractedData []*extractors.Data) {
defer wgp.Done()
Expand Down

0 comments on commit b808f36

Please sign in to comment.