From f352b16f998c978652b56b376992fc2e76106f00 Mon Sep 17 00:00:00 2001
From: zhiyu1998 <542716863@qq.com>
Date: Fri, 12 Jul 2024 13:56:27 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=93=84=20docs:=20=E6=9B=B4=E6=96=B0PR?=
=?UTF-8?q?=E6=96=87=E6=A1=A3=E7=9A=84=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 28 ++++++++++++----------------
apps/tools.js | 2 +-
2 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index 9d2d22b..c7b8cd5 100644
--- a/README.md
+++ b/README.md
@@ -151,7 +151,7 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
### 🎵 douyin问题
由于douyin的解析变化莫测,现版本需要填入自己的cookie,具体步骤如下:
-> 👍 **推荐方案** :via 视频教程(由群友@麦满分 录制):https://thumbsnap.com/rKxUGKqp
+👍 **推荐方案** :via 视频教程(由群友@麦满分 录制):https://thumbsnap.com/rKxUGKqp
👍 **推荐方案**(感谢群友 @湘潭 提供的便捷方案):
1. 打开`https://www.douyin.com/` 扫码登入自己的账号
@@ -160,8 +160,6 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
->**备用方案**
-
**备用方案1** :
1. 打开`https://www.douyin.com/` 扫码登入自己的账号
@@ -187,23 +185,21 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
-**备用方案2**(由群友麦满分提供):
+**备用方案2**(由群友`@麦满分`提供视频):
-在安卓手机下载一个via,在via那选择电脑网页版抖音,然后登录,登陆完点左上角小标有个cookie,复制
+> https://thumbsnap.com/rKxUGKqp
-**备用方案3** (由重装小兔提供)
+**备用方案3** (由`@重装小兔`提供)
-**下载python**
+1. 下载python
-**下载链接:**
+> 下载链接:
+> [官网](https://www.python.org/)
+> [微软商店](https://apps.microsoft.com/detail/9pjpw5ldxlz5?hl=zh-cn&gl=CN)
-[官网](https://www.python.org/)
+2. 下载:https://gitee.com/OvertimeBunny/tiktok-ck-douying
-[微软商店](https://apps.microsoft.com/detail/9pjpw5ldxlz5?hl=zh-cn&gl=CN)
-
-然后根据项目:https://gitee.com/OvertimeBunny/tiktok-ck-douying
-
-**扫码后自动获取ck**
+3. **扫码后自动获取ck**
### ✖️ 小蓝鸟问题
**2024-2-5**,修复小蓝鸟的时候看到free计划已经[没有给查看Tweet的api](https://developer.twitter.com/en/portal/products/basic),原先[使用的库也出现了403报错](https://github.com/PLhery/node-twitter-api-v2),开通会员要100美元,不值得。目前暂停更新,后续有方案和精力再更新!
@@ -291,8 +287,8 @@ aiApiKey: '' # 用于识图的api key,kimi接口申请:https://platform.moon
## 📝 计划功能
- [x] YouTube解析(这个可能要🕊一久)
- [ ] Instagram解析修复
- - [ ] 单张图片解析
- - [ ] 视频解析
+ - [ ] 单张图片解析
+ - [ ] 视频解析
- [x] 哔哩哔哩总结
- [x] xhs解析去水印
- [x] kuai_shou解析
diff --git a/apps/tools.js b/apps/tools.js
index 05c6dfb..e13afcb 100644
--- a/apps/tools.js
+++ b/apps/tools.js
@@ -349,7 +349,7 @@ export class tools extends plugin {
const cleanedTiktokUrl = parsedUrl.toString();
// 下载逻辑
const path = this.getCurDownloadPath(e);
- await checkAndRemoveFile(path + "/temp.mp4")
+ await checkAndRemoveFile(path + "/temp.mp4");
const title = execSync(`yt-dlp --get-title ${ cleanedTiktokUrl } ${ isOversea ? "" : `--proxy ${ this.myProxy }` }`)
e.reply(`识别:TikTok,视频下载中请耐心等待 \n${ title }`);
await this.tiktokHelper(path, cleanedTiktokUrl, isOversea);