针对有-items参数时,视频的序号应该取整个合集中的序号,而不是取被下载的第几个 #1317
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
比如一个列表有 100多个视频
lux -p -eto -items 29-30 https://www.bilibili.com/video/BV1jj411r7d5/
那么 下载的虽然是第 29 ~ 30 个视频,那么后缀应该是就是 xxx P29 ~ xxx P30 使用
dataIndex
变量的话就变成 xxxx P1 ~ xxx P2了。 这里修正一下。所以这里将变量改为
index
代表整个合集里的第几个。