fix: restore social context path and relax weibo cookie requirement

This commit is contained in:
Jason committed 2026-04-13 23:30:57 +08:00
1 parent 9f45c3f5eb
commit 2e77d9468a
3 files changed
+45 -5

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ class WeiboService {
const uid = normalizeWeiboUid(uidInput)
const cookie = normalizeWeiboCookieInput(cookieInput)
if (!cookie) {
return { success: false, error: '请先填写有效的微博 Cookie' }
return { success: true, uid }
}
const timeline = await this.fetchTimeline(uid, cookie)