Skip to content

Commit b2a3aa9

Browse files
authored
docs(drivers): add doubao drive documentation (#236)
* docs(drivers): add doubao drive documentation * fix(docs): Update image caption for Doubao root folder ID Signed-off-by: VXTLS <[email protected]> * fix(docs): remove redundant root folder path section from doubao driver Removed the section explaining the root folder path and its usage. Signed-off-by: VXTLS <[email protected]> --------- Signed-off-by: VXTLS <[email protected]>
1 parent c0bd2ca commit b2a3aa9

3 files changed

Lines changed: 57 additions & 0 deletions

File tree

pages/guide/drivers/doubao.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title:
3+
en: Doubao Drive
4+
zh-CN: 豆包云盘
5+
icon: iconfont icon-state
6+
# This control sidebar order
7+
top: 520
8+
# A page can have multiple categories
9+
categories:
10+
- guide
11+
- drivers
12+
---
13+
14+
::: en
15+
Mount [Doubao Drive](https://www.doubao.com/drive/) cloud storage.
16+
17+
:::
18+
::: zh-CN
19+
挂载 [豆包云盘](https://www.doubao.com/drive/) 云存储。
20+
21+
:::
22+
23+
24+
## Root folder ID { lang="en" }
25+
26+
::: en
27+
The root folder ID needs to be obtained manually. Open browser developer tools, visit [Doubao Drive](https://www.doubao.com/drive/), log in to your account, open the `Network` tab, search for `homepage`, switch to the `Preview` tab, where `root_id` is the root folder ID.
28+
![Doubao Drive Session Token](/img/drivers/doubao/doubao-root-folder-path.png)
29+
30+
:::
31+
32+
## 根文件夹ID { lang="zh-CN" }
33+
34+
::: zh-CN
35+
根文件夹ID需要手动获取,打开浏览器开发者工具,访问 [豆包云盘](https://www.doubao.com/drive/),登陆你的账户,打开`network(网络)`栏,搜索 `homepage`,切换到 `Preview(预览)`栏,其中root_id为根文件夹ID。
36+
![Doubao Drive Root Folder ID](/img/drivers/doubao/doubao-root-folder-path.png)
37+
38+
:::
39+
40+
## Cookie { lang="zh-CN" }
41+
42+
## Cookie { lang="en" }
43+
44+
::: en
45+
Web Cookie
46+
47+
Open browser developer tools, visit [Doubao Drive](https://www.doubao.com/drive/), log in to your account, check the `Network` tab, search for `homepage` and open it, find `Cookie` in the `Header`, copy the `sid_guard` value and fill it in (note: please copy all the way to the end including +GMT).
48+
49+
![Doubao Drive Cookie](/img/drivers/doubao/doubao-cookie.png)
50+
:::
51+
::: zh-CN
52+
网页Cookie
53+
54+
打开浏览器开发者工具,访问 [豆包云盘](https://www.doubao.com/drive/),登录账号后,查看`Network`(网络)Tab,搜索`homepage`并打开`homepage`,在`Header`(标头)中找到`Cookie`,复制其`sid_guard`值填入即可(注意,请一直复制到+GMT结束)。
55+
56+
![Doubao Drive Cookie](/img/drivers/doubao/doubao-cookie.png)
57+
:::
478 KB
Loading
60 KB
Loading

0 commit comments

Comments
 (0)