RSSHub icon indicating copy to clipboard operation
RSSHub copied to clipboard

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

Open qaz075115961 opened this issue 1 year ago • 4 comments

路由地址

/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

  • [X] 我已经搜索了 现有 issue,以确保该错误尚未被报告。

qaz075115961 avatar Aug 06 '24 16:08 qaz075115961

Searching for maintainers:
  • /weibo/group/:gid/: Route not found

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 关键词,或者留下评论。我们会重新审核。

github-actions[bot] avatar Aug 06 '24 16:08 github-actions[bot]

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

qaz075115961 avatar Aug 06 '24 16:08 qaz075115961

Searching for maintainers:
  • /weibo/group/:gid/:gname?/:routeParams?: @monologconnor @Rongronggg9

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 关键词,或者留下评论。我们会重新审核。

github-actions[bot] avatar Aug 06 '24 17:08 github-actions[bot]

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

wujieli0207 avatar Aug 10 '24 05:08 wujieli0207

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

pseudoyu avatar Oct 22 '24 16:10 pseudoyu