Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微博 Cannot read properties of undefined #10046

Open
1 task done
SettingDust opened this issue Jun 27, 2022 · 5 comments
Open
1 task done

微博 Cannot read properties of undefined #10046

SettingDust opened this issue Jun 27, 2022 · 5 comments
Labels
Bug Ping: Pinged Route: v1 v1 route related RSS bug Something isn't working

Comments

@SettingDust
Copy link
Contributor

路由地址

/weibo/user/:uid/:routeParams?

完整路由地址

/weibo/user/1785452997

相关文档

https://docs.rsshub.app/social-media.html#wei-bo

预期是什么?

正常工作

实际发生了什么?

无法工作

部署

自建

部署相关信息

No response

额外信息

Route requested: /weibo/user/1785452997

Error message: Cannot read properties of undefined (reading 'filter')

https://github.com/DIYgod/RSSHub/blob/master/lib/routes/weibo/user.js#L45=

这不是重复的 issue

  • 我已经搜索了现有 issue,以确保该错误尚未被报告。
@SettingDust SettingDust added the RSS bug Something isn't working label Jun 27, 2022
@github-actions
Copy link
Contributor

Searching for maintainers:
  • /weibo/user/:uid/:routeParams?: No maintainer listed, possibly a v1 or misconfigured route

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.

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

@Rongronggg9
Copy link
Contributor

Confirmed. I will try to figure out a fix later today.

@Rongronggg9
Copy link
Contributor

Rongronggg9 commented Jun 27, 2022

So the problem turns out to be the user's weibo are invisible on WAP Weibo (https://m.weibo.cn/u/1785452997), but still visible on Web Weibo (https://weibo.com/1785452997). This may be a new restriction from Weibo and currently nothing can solve this problem on the RSSHub side unless someday the Weibo route migrates to Web-Weibo-based grabbing. But at least for now, there is not enough motivation to perform such a migration.

@SettingDust
Copy link
Contributor Author

我可以看到,估计是移动版不登陆有的用户不给看

@Rongronggg9
Copy link
Contributor

Currently there is no plan to add a "login" feature to the /weibo/user route since it is quite different from that one in /weibo/timeline. In the meantime, I do not have a weibo account, so there is little I can help unless someday the migration to Web-Weibo-based grabbing need to be performed.

But thanks for your report. It may be the first known report indicating that WAP Weibo differs from Web Weibo in terms of account visibility even if the account is of low followers count.

#7202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Ping: Pinged Route: v1 v1 route related RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants