Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit b19876c

Browse files
authored
docs: refine Baidu Netdisk integration guide wording (#68)
应用户需求修改文档
2 parents 66e17d2 + 6170016 commit b19876c

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

docs/guide/drivers/baidu.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,20 @@ Or use the proxy function in this program to transfer.
2929
:::
3030

3131
## **Refresh token**
32-
[Click here](https://api.oplist.org/) to obtain a refresh token.
33-
If you have Baidu Netdisk developer permissions, please select "Baidu Netdisk Verify Login" and enter the callback address provided by this page in the Baidu Netdisk developer application backend. After clicking to get the token, you will automatically obtain the refresh token. Then, configure your own `client_id` and `client_secret` in Openlist.
34-
![](/img/drivers/baidu/dev_token.png)
32+
**Currently, there are three methods to obtain a Baidu Netdisk refresh token:**
3533

36-
If you do not have Baidu Netdisk developer permissions, please select "Baidu Netdisk OOB Verification". By default, the client parameters of ES File Explorer are used for configuration, but you can also use your own `client_id` and `client_secret` parameters. After clicking to get the token, please wait patiently for the Baidu login page to appear. After logging in and authorizing, copy the authorization code, return to the original page, and follow the instructions to obtain the refresh token. Enter your `client_id` and `client_secret` in the Openlist storage configuration interface to use.
37-
![](/img/drivers/baidu/crack_dev_token.png)
34+
- All methods require you to [click here](https://api.oplist.org/) to obtain the refresh token. The **first method** requires developer permissions, while the **latter two** do not.
3835

39-
The built-in API call implementation uses the server as a proxy to refresh the access_token. This feature is now online. Check the option to use the parameters provided by Openlist, click to get the token, and you will obtain the refresh token. In the Openlist storage configuration interface, enable the "use online API" option, enter the refresh token, and you can use it.
40-
![](/img/drivers/baidu/non_dev_token.png)
36+
- **1.** If you have Baidu Netdisk developer permissions, please select **"Baidu Netdisk Auth Login"**, and in the Baidu Netdisk developer app backend, set the callback URL to the one provided on the webpage. After clicking "Get Token," you will automatically receive a refresh token. You can then configure your own `client_id` and `client_secret` in Openlist.
37+
![](/img/drivers/baidu/dev_token.png)
4138

42-
The principle of the online API can be roughly explained by the diagram
43-
![](/img/drivers/baidu/openapi.png)
39+
- **2.** This method uses a built-in API call via our intermediary server to refresh the access token. It is already available online. Simply check the option to use the parameters provided by Openlist, click "Get Token," and you will receive a refresh token. In the storage configuration page of Openlist, enable the "Use Online API" option, and enter the refresh token to start using it.
40+
![](/img/drivers/baidu/non_dev_token.png)
41+
The basic principle of the online API is illustrated in the diagram below:
42+
![](/img/drivers/baidu/openapi.png)
43+
44+
- **3.** If you do not have Baidu Netdisk developer permissions but somehow have access to an app’s `client_id` and `client_secret`, please select **"Baidu Netdisk OOB Authentication"**. By default, this method uses the client parameters from the "ES File Explorer" app, but you can also input your own `client_id` and `client_secret`. After clicking "Get Token," wait patiently as you are redirected to the Baidu authorization page. Log in and authorize the app, then copy the authorization code and return to the original webpage to input the code as instructed to obtain the refresh token. In the storage configuration page of Openlist, fill in the `client_id` and `client_secret` to start using the service.
45+
![](/img/drivers/baidu/crack_dev_token.png)
4446

4547

4648

docs/zh/guide/drivers/baidu.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,19 @@ flowchart TB
7171
:::
7272

7373
## **刷新令牌**
74-
75-
[点击这里](https://api.oplist.org/) 来获取刷新令牌。
76-
如果你有百度网盘开发者权限,请选择“百度网盘 验证登录”,并在百度网盘开发者应用后台里填入配置回调地址为该网页提供的回调地址。点击获取token后即可自动获取刷新令牌,并在openlist中配置您自己的cilent_id和cilent_secret。
77-
![](/img/drivers/baidu/dev_token.png)
78-
如果你没有百度网盘开发权限,请选择“百度网盘 OOB验证”,目前默认使用es文件浏览器的客户端参数进行配置,您也可以选择使用自己的获取到的cilent_id和cilent_secret参数,点击获取token后耐心等待跳转百度页面,登录授权后复制授权码,回到原网页按照提示即可获取刷新令牌。在Openlist的存储配置界面将cilent_id和cilent_secret填入即可使用。
79-
![](/img/drivers/baidu/crack_dev_token.png)
80-
内置API调用的实现方式为服务器中转刷新access_token,目前已经上线,勾选使用Openlist提供的参数,点击获取token即可获得刷新令牌。在Openlist的存储配置界面,打开使用online api选项,经刷新令牌填入即可使用。
81-
![](/img/drivers/baidu/non_dev_token.png)
82-
对于online api的原理,大体可以由下图说明:
83-
![](/img/drivers/baidu/openapi.png)
84-
74+
- **目前你有三种方法获取百度网盘的刷新令牌**
75+
- 全部都要[点击这里](https://api.oplist.org/) 来获取刷新令牌。第一种需要开发者权限,后**两种**不需要。
76+
- **1**、如果你有百度网盘开发者权限,请选择“百度网盘 验证登录”,并在百度网盘开发者应用后台里填入配置回调地址为该网页提供的回调地址。点击获取token后即可自动获取刷新令牌,并在openlist中配置您自己的cilent_id和cilent_secret。
77+
![](/img/drivers/baidu/dev_token.png)
78+
79+
- **2**、内置API调用的实现方式,利用我们建立的服务器中转刷新access_token,目前已经上线,勾选使用Openlist提供的参数,点击获取token即可获得刷新令牌。在Openlist的存储配置界面,打开使用online api选项,经刷新令牌填入即可使用。
80+
![](/img/drivers/baidu/non_dev_token.png)
81+
对于online api的原理,大体可以由下图说明:
82+
![](/img/drivers/baidu/openapi.png)
83+
84+
- **3**、如果你没有百度网盘开发权限,但是你又莫名其妙的掌握有某个APP的id和secret,请选择“百度网盘 OOB验证”,目前默认使用es文件浏览器的客户端参数进行配置,您也可以选择使用自己的获取到的cilent_id和cilent_secret参数,点击获取token后耐心等待跳转百度页面,登录授权后复制授权码,回到原网页按照提示即可获取刷新令牌。在Openlist的存储配置界面将cilent_id和cilent_secret填入即可使用。
85+
![](/img/drivers/baidu/crack_dev_token.png)
86+
8587

8688

8789
## **根文件夹ID**

0 commit comments

Comments
 (0)