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

Commit 90e5f3b

Browse files
authored
Merge branch 'main' into fork-page-ci
2 parents da4ac0e + 234ff74 commit 90e5f3b

File tree

7 files changed

+23
-2
lines changed

7 files changed

+23
-2
lines changed
364 KB
Loading
301 KB
Loading
302 KB
Loading
67.5 KB
Loading

docs/guide/drivers/baidu.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,18 @@ Or use the proxy function in this program to transfer.
2929
:::
3030

3131
## **Refresh token**
32-
[Click here](https://openapi.baidu.com/oauth/2.0/authorize?response_type=code&client_id=iYCeC9g08h5vuP9UqvPHKKSVrKFXGa1v&redirect_uri=https://alist.example.com/tool/baidu/callback&scope=basic,netdisk&qrcode=1) to get the 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)
35+
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)
38+
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)
41+
42+
The principle of the online API can be roughly explained by the diagram
43+
![](/img/drivers/baidu/openapi.png)
3344

3445

3546

docs/zh/guide/drivers/189.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ star: true
2323

2424
Web 端登录已更换为滑动验证码,**不再支持 OCR 与手动输入**,若需要验证码请使用 `添加 Cookie 进行登录` 或使用 `天翼云盘客户端` 驱动
2525

26+
如遇 **设备 ID 不存在,需要二次设备校验**,请前往 `Android` 端天翼云盘 APP 的设置关闭设备锁
27+
2628
:::
2729

2830
## **个人云**

docs/zh/guide/drivers/baidu.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,15 @@ flowchart TB
7272

7373
## **刷新令牌**
7474

75-
[点击这里](https://openapi.baidu.com/oauth/2.0/authorize?response_type=code&client_id=iYCeC9g08h5vuP9UqvPHKKSVrKFXGa1v&redirect_uri=https://alist.example.com/tool/baidu/callback&scope=basic,netdisk&qrcode=1) 来获取刷新令牌。
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)
7684

7785

7886

0 commit comments

Comments
 (0)