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

Video类能否增加多集视频中每集视频的标题(Video.title) #24

Open
handsomeprince opened this issue Oct 20, 2019 · 2 comments
Labels
DONE Problem solved or answered NEW New feature requirements

Comments

@handsomeprince
Copy link
Contributor

Video类能否增加多集视频中每集视频的标题(Video.title)。有时候下载一个Album下的所有视频时,给每集视频都要重命名很不方便,最好是能按b站每集视频的标题来命名,1来可以提现视频的内容,2来可以避免视频名称重复。

@driverCzn
Copy link

Video类能否增加多集视频中每集视频的标题(Video.title)。有时候下载一个Album下的所有视频时,给每集视频都要重命名很不方便,最好是能按b站每集视频的标题来命名,1来可以提现视频的内容,2来可以避免视频名称重复。

作者已经在改啦,下一次更新就可以了

@wolfbolin wolfbolin added NEW New feature requirements OPEN The problem remains unsolved DONE Problem solved or answered and removed OPEN The problem remains unsolved DONE Problem solved or answered NEW New feature requirements labels Nov 30, 2019
@dykw
Copy link

dykw commented Nov 27, 2020

可以这样先改下,不能看到具体分集的name ,新的文件名为:原视频name + 按顺序加了 0 1 2 3.;多加了个重复文件的校验
i = 0
for video in video_list:
# print('video' + video)

    name = album.name+""+str(i)
    file_name = path + name + ".mp4"

    if os.path.exists(file_name) is False:
        video.sync(cookie=cookie)
        task = BiliUtil.Task(
            video, '/Volumes/first/others/bilibili/', name)
        task.start()
        i = i+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DONE Problem solved or answered NEW New feature requirements
Projects
None yet
Development

No branches or pull requests

4 participants