Skip to content

Commit 8089f5c

Browse files
xrgzsCopilot
andauthored
docs(wps): add wps docs (#330)
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top> Co-authored-by: Copilot <copilot@github.com>
1 parent 0e54dfb commit 8089f5c

1 file changed

Lines changed: 110 additions & 0 deletions

File tree

pages/guide/drivers/wps.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
title:
3+
en: WPS
4+
zh-CN: WPS 云文档
5+
# This control sidebar order
6+
top: 675
7+
# A page can have multiple categories
8+
categories:
9+
- guide
10+
- drivers
11+
---
12+
13+
<!--@include: @/snippets/reverse-tip.md-->
14+
15+
::: en
16+
OpenList supports mounting WPS cloud document (which is also called KDocs) web.
17+
18+
Official websites:
19+
20+
- KDocs (Personal): <https://www.kdocs.cn/>
21+
- WPS 365 (Business/Enterprise/Education): <https://365.kdocs.cn/>
22+
23+
:::
24+
25+
::: zh-CN
26+
OpenList 支持挂载 WPS 云文档(金山文档)的网页端。
27+
28+
官方网站:
29+
30+
- 金山文档(个人版):<https://www.kdocs.cn/>
31+
- WPS 365(商业/企业/教育版):<https://365.kdocs.cn/>
32+
33+
:::
34+
35+
## Cookie
36+
37+
::: en
38+
::: warning
39+
Please make sure to obtain the Cookie using a new browser environment or incognito mode to avoid including session information from other accounts.
40+
41+
A session can only be logged in to one account at a time.
42+
:::
43+
44+
::: zh-CN
45+
::: warning
46+
请务必使用一个新的浏览器环境或者无痕模式获取 Cookie,避免 Cookie 中包含其他账号的会话信息。
47+
48+
一个会话只能同时登录一个账号。
49+
:::
50+
51+
::: en
52+
The cookie of WPS cloud storage can be obtained by following the steps below:
53+
54+
1. Create a new browser environment or open an incognito window.
55+
2. Visit the corresponding WPS cloud document website and log in to your WPS account.
56+
3. Open the developer tools (press F12 or right-click and select "Inspect").
57+
4. Go to the "Network" tab and refresh the page.
58+
5. Search for `islogin` in the network requests and open one of them.
59+
6. In the request details, find the "Headers" section and look for the `Cookie` and `User-Agent` fields.
60+
7. Copy the entire value of relevant fields and use them in OpenList.
61+
62+
:::
63+
64+
::: zh-CN
65+
WPS 云盘的 Cookie 可以通过以下步骤获取:
66+
67+
1. 创建一个新的浏览器环境或者打开无痕模式窗口。
68+
2. 访问对应的 WPS 云文档网站并登录你的 WPS 账号。
69+
3. 打开开发者工具(按 F12 或右键选择“检查”)。
70+
4. 切换到“网络”标签页并刷新页面。
71+
5. 在网络请求中搜索 `islogin` 并打开其中一个请求。
72+
6. 在请求详情中找到“Headers”部分,查找`Cookie``User-Agent`字段。
73+
7. 复制相关字段的完整值,并在 OpenList 中使用它。
74+
75+
:::
76+
77+
## Mode { lang="en" }
78+
79+
## 模式 { lang="zh-CN" }
80+
81+
::: en
82+
There are two modes of API:
83+
84+
- Personal
85+
- Business
86+
87+
Please select the appropriate mode based on your account type when adding the WPS cloud storage in OpenList.
88+
89+
:::
90+
91+
::: zh-CN
92+
WPS 云文档有两种 API 模式:
93+
94+
- 个人版
95+
- 商业版
96+
97+
请根据你的账号类型在 OpenList 中添加 WPS 云文档时选择相应的模式。
98+
:::
99+
100+
## Custom UA { lang="en" }
101+
102+
## 自定义 UA { lang="zh-CN" }
103+
104+
::: en
105+
You can set a custom User-Agent for requests to WPS cloud document.
106+
:::
107+
108+
::: zh-CN
109+
可以给 WPS 云文档的请求设置自定义用户代理。
110+
:::

0 commit comments

Comments
 (0)