DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
33.31k stars 7.43k forks source link

weibo/group: TypeError: responseData.statuses.map is not a function #16385

Closed qaz075115961 closed 1 week ago

qaz075115961 commented 2 months ago

路由地址

/weibo/group/:gid/:gname?/:routeParams?

完整路由地址

/weibo/group/:gid/:gname?/:routeParams?

相关文档

https://docs.rsshub.app/routes/social-media#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%88%86%E7%BB%84

预期是什么?

获取本人在微博上的自定义分组

实际发生了什么?

返回错误信息 TypeError: responseData.statuses.map is not a function

部署

自建

部署相关信息

Windows10专业版 22H2;Docker Desktop 4.32.0 (157355)

额外信息

2024-08-07 00:14:07 info: <-- GET /weibo/group/5063994840712249
2024-08-07 00:14:08 error: Error in /weibo/group/5063994840712249: TypeError: responseData.statuses.map is not a function
2024-08-07 00:14:08 info: --> GET /weibo/group/5063994840712249 503 247ms

这不是重复的 issue

github-actions[bot] commented 2 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake. 如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

qaz075115961 commented 2 months ago

/weibo/group/:gid/:gname?/:routeParams?

github-actions[bot] commented 2 months ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake. 如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

wujieli0207 commented 2 months ago

看起来像是 WEIBO_COOKIES cookie 设置的问题,或者是 cookie 过期了

pseudoyu commented 1 week ago

this route returns error because of the lack of weibo cookie in your self-host instance.

You can refer to this doc to add the Environment Variable —— https://docs.rsshub.app/deploy/config#%E5%BE%AE%E5%8D%9A