From fd3d911b04eebc2bdbc2d607cd30197a80c338c2 Mon Sep 17 00:00:00 2001 From: Kataick Date: Sat, 6 Jul 2024 13:24:54 +0800 Subject: [PATCH] fix(douyin): remove encodeURIComponent from url --- src/routes/douyin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/douyin.ts b/src/routes/douyin.ts index 0a6e0fb..60a2864 100644 --- a/src/routes/douyin.ts +++ b/src/routes/douyin.ts @@ -54,8 +54,8 @@ const getList = async (noCache: boolean) => { title: v.word, timestamp: getTime(v.event_time), hot: v.hot_value, - url: `https://www.douyin.com/hot/${encodeURIComponent(v.sentence_id)}`, - mobileUrl: `https://www.douyin.com/hot/${encodeURIComponent(v.sentence_id)}`, + url: `https://www.douyin.com/hot/${v.sentence_id}`, + mobileUrl: `https://www.douyin.com/hot/${v.sentence_id}`, })), }; };