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

小黑盒路由出错 #13686

Closed
1 task done
sakurayang opened this issue Nov 3, 2023 · 3 comments
Closed
1 task done

小黑盒路由出错 #13686

sakurayang opened this issue Nov 3, 2023 · 3 comments
Labels
Bug Ping: Pinged Count: 0/1 Route: v1 v1 route related RSS bug Something isn't working

Comments

@sakurayang
Copy link
Contributor

路由地址

/xiaoheihe/news

完整路由地址

/xiaoheihe/news

相关文档

https://docs.rsshub.app/zh/routes/game#xiao-hei-he-you-xi-xin-wen

预期是什么?

得到正常的xml输出

实际发生了什么?

pull 下来调试了一下,发现是这一行出了问题。
其中 data 是

{
  "status": "failed",
  "msg": "您的版本过低,请您更新版本",
  "version": "1.0",
  "result": {
  },
}

于是对原 url 进行了修改

https://api.xiaoheihe.cn/maxnews/app/list?tag=-1&offset=0&limit=30&rec_mark=timeline&heybox_id=12777814&imei=867252032615972&os_type=Android&os_version=9
-&version=1.1.55
+&version=1.3.290
&_time=1551801017&hkey=b28cd7a1cba463b4d9176ba2f8f42d35

随后提示系统时间错误

于是对原 url 进行了修改

https://api.xiaoheihe.cn/maxnews/app/list?tag=-1&offset=0&limit=30&rec_mark=timeline&heybox_id=12777814&imei=867252032615972&os_type=Android&os_version=9&version=1.3.290
-&_time=1551801017
+&_time=${Math.round(new Date().getTime()/1000)}
&hkey=b28cd7a1cba463b4d9176ba2f8f42d35

随后提示验证参数不正确

翻阅相关仓库,从 chr233/xhh_autochr233/Xiaoheihe_CShape 这两个仓库中发现小黑盒对请求的验证发生了变化。

P.S. 上班摸鱼的时候弄的,再摸就要被 gank 了 修不动orz

部署

RSSHub 演示 (https://rsshub.app)

部署相关信息

No response

额外信息

Route requested: /xiaoheihe/news
Error message: response.data.result.filter is not a function
Helpful Information to provide when opening issue:
Path: /xiaoheihe/news
Node version: v18.18.2
Git Hash: d595dab

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@sakurayang sakurayang added the RSS bug Something isn't working label Nov 3, 2023
Copy link
Contributor

github-actions bot commented Nov 3, 2023

Searching for maintainers:
  • /xiaoheihe/news: 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 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.

@TonyRL
Copy link
Collaborator

TonyRL commented Nov 3, 2023

Duplicate of #11511

@TonyRL TonyRL marked this as a duplicate of #11511 Nov 3, 2023
@TonyRL
Copy link
Collaborator

TonyRL commented Nov 3, 2023

You can take a look at https://github.com/huandu/heybox-url as well.

@TonyRL TonyRL closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Ping: Pinged Count: 0/1 Route: v1 v1 route related RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants