8000 fix(baidu_netdisk): add another video crack api by anobodys · Pull Request #8275 · AlistGo/alist · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(baidu_netdisk): add another video crack api #8275

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

anobodys
Copy link
Contributor
@anobodys anobodys commented Apr 1, 2025

为 百度网盘驱动添加了新的下载接口 crack_video ,仅能获取视频文件的地址,目前测试下来,无vip可原画满速下载,仍需要ua

同时还增加了 OnlyListVideoFile 选项,是否仅展示视频文件(包括文件夹)

Copy link

Walkthrough

This PR introduces a new download API crack_video for the Baidu Netdisk driver, allowing users to obtain video file addresses. It also adds an option OnlyListVideoFile to display only video files and folders.

Changes

Files Summary
drivers/baidu_netdisk/driver.go Added logic to handle crack_video API in the Link function.
drivers/baidu_netdisk/meta.go Updated DownloadAPI options to include crack_video and added OnlyListVideoFile option.
drivers/baidu_netdisk/types.go Un-commented the Category field in the File struct.
drivers/baidu_netdisk/util.go Implemented linkCrackVideo function and added logic to filter video files when OnlyListVideoFile is true.

@xhofe xhofe merged commit ab68fae into AlistGo:main Apr 3, 2025
8 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
0