fix: restore social context path and relax weibo cookie requirement
This commit is contained in:
1 parent
9f45c3f5eb
commit
2e77d9468a
3 files changed
+45
-5
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user