fix: restore social context path and relax weibo cookie requirement

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

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)