From 1776ab09030cea5b1db1c32937ab8b4c1c18174a Mon Sep 17 00:00:00 2001 From: FoskyM Date: Sat, 6 Apr 2024 13:47:55 +0800 Subject: [PATCH] fix: zhihu fetchUrl --- worker/src/providers/zhihu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/providers/zhihu.ts b/worker/src/providers/zhihu.ts index 1df6407..143af18 100644 --- a/worker/src/providers/zhihu.ts +++ b/worker/src/providers/zhihu.ts @@ -12,7 +12,7 @@ export default async function zhihuProvider( return commonProviderHandler({ providerName: 'zhihu', queryKey: key, - fetchUrl: `https://www.zhihu.com/api/v4/members/${key}?include=follower_count`, + fetchUrl: `https://api.zhihu.com/people/${key}/profile`, countObjPath: 'follower_count', errorMessageObjPath: 'error.message', isResponseValid: d => 'follower_count' in d,