Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions pages/guide/drivers/wps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
title:
en: WPS
zh-CN: WPS 云文档
# This control sidebar order
top: 675
# A page can have multiple categories
categories:
- guide
- drivers
---

<!--@include: @/snippets/reverse-tip.md-->

::: en
OpenList supports mounting WPS cloud document (which is also called KDocs) web.

Official websites:

- KDocs (Personal): <https://www.kdocs.cn/>
- WPS 365 (Business/Enterprise/Education): <https://365.kdocs.cn/>

:::

::: zh-CN
OpenList 支持挂载 WPS 云文档(金山文档)的网页端。

官方网站:

- 金山文档(个人版):<https://www.kdocs.cn/>
- WPS 365(商业/企业/教育版):<https://365.kdocs.cn/>

:::

## Cookie

::: en
::: warning
Please make sure to obtain the Cookie using a new browser environment or incognito mode to avoid including session information from other accounts.

A session can only be logged in to one account at a time.
:::

::: zh-CN
::: warning
请务必使用一个新的浏览器环境或者无痕模式获取 Cookie,避免 Cookie 中包含其他账号的会话信息。

一个会话只能同时登录一个账号。
:::

::: en
The cookie of WPS cloud storage can be obtained by following the steps below:

1. Create a new browser environment or open an incognito window.
2. Visit the corresponding WPS cloud document website and log in to your WPS account.
3. Open the developer tools (press F12 or right-click and select "Inspect").
4. Go to the "Network" tab and refresh the page.
5. Search for `islogin` in the network requests and open one of them.
6. In the request details, find the "Headers" section and look for the `Cookie` and `User-Agent` fields.
7. Copy the entire value of relevant fields and use them in OpenList.

:::

::: zh-CN
WPS 云盘的 Cookie 可以通过以下步骤获取:

1. 创建一个新的浏览器环境或者打开无痕模式窗口。
2. 访问对应的 WPS 云文档网站并登录你的 WPS 账号。
3. 打开开发者工具(按 F12 或右键选择“检查”)。
4. 切换到“网络”标签页并刷新页面。
5. 在网络请求中搜索 `islogin` 并打开其中一个请求。
6. 在请求详情中找到“Headers”部分,查找`Cookie`、`User-Agent`字段。
7. 复制相关字段的完整值,并在 OpenList 中使用它。

:::

## Mode { lang="en" }

## 模式 { lang="zh-CN" }

::: en
There are two modes of API:

- Personal
- Business

Please select the appropriate mode based on your account type when adding the WPS cloud storage in OpenList.

:::

::: zh-CN
WPS 云文档有两种 API 模式:

- 个人版
- 商业版

请根据你的账号类型在 OpenList 中添加 WPS 云文档时选择相应的模式。
:::

## Custom UA { lang="en" }

## 自定义 UA { lang="zh-CN" }

::: en
You can set a custom User-Agent for requests to WPS cloud document.
:::

::: zh-CN
可以给 WPS 云文档的请求设置自定义用户代理。
:::