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

针对有-items参数时,视频的序号应该取整个合集中的序号,而不是取被下载的第几个 #1317

Merged
merged 5 commits into from
Feb 21, 2024

Conversation

leehow1988
Copy link
Contributor

@leehow1988 leehow1988 commented Feb 21, 2024

比如一个列表有 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 代表整个合集里的第几个。

Copy link
Owner

@iawia002 iawia002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@iawia002 iawia002 merged commit 3787092 into iawia002:master Feb 21, 2024
27 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants