Actions15
Overview
This node integrates with Baidu Netdisk (Baidu Cloud Storage) APIs to perform various operations related to user info, file information, file management, and sharing services. Specifically, the "百度分享保存" (Baidu Share Save) operation under the "分享服务" (Sharing Service) resource allows users to save files shared via Baidu Netdisk share links into a specified directory in their own Baidu Netdisk account.
Common scenarios for this node include:
- Automatically saving files from shared Baidu Netdisk URLs into a user's cloud storage.
- Managing shared content by specifying passwords and target directories.
- Automating workflows that involve collecting shared resources without manual download/upload steps.
Practical example:
- A user receives a Baidu Netdisk share URL with a password and wants to save the shared files directly into a folder named "SharedDownloads" in their Baidu Netdisk. This node can be configured with the share URL, password, and target directory to automate this process.
Properties
Name | Meaning |
---|---|
文件地址 | The URL of the Baidu Netdisk shared file or folder to be saved. |
分享密码 | The password required to access the shared content if the share is password protected. |
保存目录 | The directory path within the user's Baidu Netdisk where the shared files will be saved. |
Output
The output is a JSON array containing details about the saved files or folders. Each item typically includes metadata such as file names and identifiers returned from Baidu Netdisk after the save operation.
If no save directory is specified, the output contains basic information about the shared files, including their names.
Binary data output is not indicated for this operation; the node primarily outputs JSON metadata about the saved shared files.
Dependencies
- Requires an API key credential for Baidu Netdisk API access.
- Uses Baidu Netdisk's official APIs for user info, file management, and share handling.
- Network connectivity to Baidu Netdisk endpoints is necessary.
- The node relies on internal helper functions for API requests, error handling, and response parsing.
Troubleshooting
- Incorrect or missing share URL: Ensure the share URL is valid and properly formatted. The node normalizes URLs but invalid URLs will cause errors.
- Wrong or missing share password: If the shared content is password protected, provide the correct password; otherwise, the node will fail to verify access.
- Invalid save directory path: The target directory must exist or be correctly specified; otherwise, the save operation may fail or default to root.
- API rate limits or authentication errors: Check that the API credentials are valid and have sufficient permissions.
- Error messages referencing "share" context: These indicate issues during share verification or transfer steps; verify inputs and network status.
- JSON parsing errors: The node expects certain API responses in JSON format; corrupted or unexpected responses may cause failures.
Links and References
- Baidu Netdisk API Documentation (Chinese)
- Node Documentation URL (as referenced in the node metadata)