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

大量路由不可用 TypeError: got(...).json is not a function #15763

Closed
1 task done
ouuan opened this issue May 30, 2024 · 3 comments
Closed
1 task done

大量路由不可用 TypeError: got(...).json is not a function #15763

ouuan opened this issue May 30, 2024 · 3 comments
Labels
RSS bug Something isn't working

Comments

@ouuan
Copy link
Contributor

ouuan commented May 30, 2024

路由地址

/alistapart
/chaping/newsflash
/codeforces/contests
/codeforces/recent-actions/:minrating?
/dlnews/:category?
/gov/beijing/bphc/*
/grist
/luogu/user/blog/:name
/npm/package/:name{(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*}
/twreporter/newest

完整路由地址

/alistapart
/chaping/newsflash
/codeforces/contests
/codeforces/recent-actions
/dlnews
/gov/beijing/bphc/project
/grist
/luogu/user/blog/ouuan
/npm/package/rsshub
/twreporter/newest

相关文档

#14922

预期是什么?

正常返回结果

实际发生了什么?

TypeError: got(...).json is not a function

部署

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

部署相关信息

No response

额外信息

目前有若干单个路由的 issue 和修复(例如 #15648#15207#15107#15134 ……),但仍有大量路由有这个问题,光是搜索 got.*\.json\( 就能搜到很多,可能还有别的。

可以考虑给 fakeGot 加上 .json() method,或者尽量全面地对各个路由都进行修复,而非报一个修一个,我上面列出的路由很可能还是不全。

这不是重复的 issue

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

Searching for maintainers:
  • /alistapart: Route not found
  • /chaping/newsflash: @Fatpandac
  • /codeforces/contests: @Fatpandac
  • /codeforces/recent-actions/:minrating?: No maintainer listed, possibly a v1 or misconfigured route
  • /dlnews/:category?: @Rjnishant530
  • /gov/beijing/bphc/*: No maintainer listed, possibly a v1 or misconfigured route
  • /grist: Route not found
  • /luogu/user/blog/:name: No maintainer listed, possibly a v1 or misconfigured route
  • /npm/package/:name{(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*}: Route not found
  • /twreporter/newest: @emdoe

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

1 similar comment

This comment was marked as duplicate.

@TonyRL
Copy link
Collaborator

TonyRL commented Jun 2, 2024

Closed in #15780

@TonyRL TonyRL closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants