Skip to content

Commit

Permalink
优化文档
Browse files Browse the repository at this point in the history
  • Loading branch information
ikenxuan committed Aug 10, 2024
1 parent 2cd4c27 commit 7a62843
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
24 changes: 13 additions & 11 deletions docs/intro/bilibili.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@

插件会自动识别 `B站的分享链接`[^1] 进行解析

| 功能 | 支持情况 | 是否需要配置 ck | 其他 |
| ------------- | ------------------- | ------------------------------------------------------ | - |
| 扫码登录取 ck | 支持 | | 命令: _**#B站扫码登录**_ |
| 视频 | 支持 | 默认画质 `360p` 设置后 `720p/1080p`,有大会员最高 `4K` | |
| 评论 | 支持 | | |
| 番剧 | 支持 | 可能,看剧集是否需要大会员 | |
| 动态 | 图文/纯文/纯图 | 必须 | |
| 直播 | 支持 | | |
| 动态推送 | 图文/纯文/视频/直播 | 必须 | 如何设置推送UP请看 [**动态推送**](./push.md) |
| ... | ... | ... | |
| 功能 | 支持情况 | 调用相关接口是否需要 ck | 其他 |
| ------------- | -------- | ----------------------- | ------------------------------------------------------------------------------------- |
| 扫码登录取 ck | 🟢 | | 命令: _**#B 站扫码登录**_ |
| 视频 | 🟢 | | 无 ck 默认画质 `360p`,有 ck 将尝试发送可观看的最高分辨率 |
| 评论 | 🟢 | | |
| 番剧 | 🟢 | | 看剧集是否需要大会员 |
| 动态 | 🟢 | ✔️ | 支持动态类型: 图文/纯文/纯图 |
| 直播 | 🟢 | | |
| 动态推送 | 🟢 | ✔️ | 支持的动态类型: 图文/纯文/视频/直播<br>如何设置推送 UP 请看 [**动态推送**](./push.md) |
| ... | ... | ... | |

---
[^1]: B站的分享链接: 包括 `APP分享``web地址``小程序分享`

[^1]: B 站的分享链接: 包括 `APP分享``web地址``小程序分享`

::: details 如何配置 B 站 `Cookie`

### 浏览器
Expand Down
24 changes: 13 additions & 11 deletions docs/intro/douyin.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@

插件会自动识别 `APP分享链接`[^1] `web视频链接`[^2] 进行解析

| 功能 | 支持情况 | 是否需要配置 ck | 其他 |
| ----------------- | ------------------ | --------------- | - |
| ~~扫码登录取 ck~~ | 风控太严,做不了 | | |
| 视频 | 支持 | 必须 | |
| 图集 | 支持 | 必须 | |
| 评论 | 支持 | 必须 | |
| 用户主视频列表 | 初步支持 | 必须 | |
| 视频更新推送 | 视频/图集/~~直播~~ | 必须 | 如何设置推送博主请看 [**动态推送**](./push.md) |
| ... | ... | ... | |
| 功能 | 支持情况 | 调用相关接口是否需要 ck | 其他 |
| -------------- | -------- | ----------------------- | --------------------------------------------------------------------------- |
| 扫码登录取 ck | 🔴 | | 风控太严格,无法实现 |
| 视频 | 🟢 | ✔️ | |
| 图集 | 🟢 | ✔️ | |
| 评论 | 🟢 | ✔️ | |
| 用户主视频列表 | 🟡 | ✔️ | |
| 视频更新推送 | 🟢 | ✔️ | 支持的推送类型: 视频/图集<br>如何设置推送博主请看 [**动态推送**](./push.md) |
| ... | ... | ... | |

---

[^1]: 抖音的分享链接: [`8.74 复制打开抖音,看看【Aleks Kost的作品】当代网友:这是亚当本人吧? # 亚当仿妆# 用亚当... https://v.douyin.com/i6msCtFe/ [email protected] pDH:/ 12/11`](https://v.douyin.com/i6msCtFe/)

::: details 如何配置抖音 `Cookie`

[^2]: web视频链接: [`https://www.douyin.com/video/7375088329701854498`](https://www.douyin.com/video/7375088329701854498)
[^2]: web 视频链接: [`https://www.douyin.com/video/7375088329701854498`](https://www.douyin.com/video/7375088329701854498)

### 浏览器

Expand All @@ -40,7 +42,7 @@
douyin: 此处填上你的抖音ck // [!code focus]
# B站ck
bilibili:
bilibili:
```

:::
Expand Down
12 changes: 7 additions & 5 deletions docs/intro/kuaishou.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

插件会自动识别 `APP分享链接`[^1] 进行解析

| 功能 | 支持情况 | 是否需要配置 ck | 其他 |
| ----------------- | ------------------ | --------------- | - |
| 视频 | 支持 | 目前用的游客ck,可能随时失效 | 如何配置快手ck?和抖音B站步骤一样 |
| 评论 | 支持 | 同上 | |
| ... | ... | ... | |
| 功能 | 支持情况 | 调用相关接口是否需要 ck | 其他 |
| ---- | -------- | ----------------------- | --------------------------------------------------------------------- |
| 视频 | 🟢 | ✔️ | 目前用的游客 ck,可能随时失效<br>如何配置快手 ck?和抖音 B 站步骤一样 |
| 评论 | 🟢 | ✔️ | |
| ... | ... | ... | |

---

[^1]: 快手的分享链接: [`https://v.kuaishou.com/JTDKHe 祝各位都能成为自己想成为的那个人。 "边路之怪听安    "听安cos天暗星   该作品在快手被播放过1,988.7万次,点击链接,打开【快手】直接观看!`](https://v.kuaishou.com/JTDKHe)

# TODO

- [x] 自定义 ck 由 [**@ikenxuan**](https://github.com/ikenxuan)[**2a8afd**](https://github.com/ikenxuan/kkkkkk-10086/commit/2a8afd9ca06ac29c3d1e4726aa7a59a1e70e37cf) 完成
- [ ] 图集
- [x] 评论 由 [**@ikenxuan**](https://github.com/ikenxuan)[**b37949**](https://github.com/ikenxuan/kkkkkk-10086/commit/b379497062b4a3be29017635824c8381dbb9f9be) 完成
Expand Down
16 changes: 5 additions & 11 deletions docs/start/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,43 @@
### 使用 Git 克隆(推荐)

机器人目录下打开终端执行
#### Yunzai
::: code-group

```sh [GitHub]
# (国外推荐)使用 GitHub
git clone --depth=1 https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/
```

```sh [Gitee]
# (国内推荐)使用 Gitee
git clone --depth=1 https://gitee.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/
```

```sh [Ghproxy]
# (国内推荐)使用 Ghproxy 代理 Github
git clone --depth=1 https://mirror.ghproxy.com/https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/
```

:::

::: details 如果你想在 [`Karin`](https://github.com/KarinJS/Karin) 安装

#### Karin
Karin 框架 文档: https://karinjs.github.io/Karin<br>
Karin 务必使用以下的命令安装,否则插件可能不会被识别

::: code-group

```sh [GitHub]
# (国外推荐)使用 GitHub
git clone --depth=1 https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/
```

```sh [Gitee]
# (国内推荐)使用 Gitee
git clone --depth=1 https://gitee.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/
```

```sh [Ghproxy]
# (国内推荐)使用 Ghproxy 代理 Github
git clone --depth=1 https://mirror.ghproxy.com/https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/
```
:::


### 使用 Release 发行版(不推荐)
**_不推荐该方式,后续无法通过 Git 进行更新_**<br><br>
- 打开 Release 页面: https://github.com/ikenxuan/kkkkkk-10086/releases
Expand All @@ -63,13 +58,12 @@ git clone --depth=1 https://mirror.ghproxy.com/https://github.com/ikenxuan/kkkkk

## 安装依赖
二选一
1. 根目录下执行
```sh
# 1.根目录下执行
pnpm install --filter=kkkkkk-10086
```

2. 插件目录下执行
```sh
# 2.插件目录下执行
cd plugins/kkkkkk-10086
pnpm install -P
```

0 comments on commit 7a62843

Please sign in to comment.