RSSHub icon indicating copy to clipboard operation
RSSHub copied to clipboard

[Bug] Route /copymanga/comic/:id/:chapterCnt? 返回空内容,无法抓取章节数据

Open vp7x opened this issue 7 months ago • 1 comments

路由地址

/copymanga/comic/:id/:chapterCnt?

完整路由地址

/copymanga/comic/xiangyaochengweiyingzhishilizhe/10

相关文档

https://docs.rsshub.app/zh/routes/anime#%E6%8B%B7%E8%B4%9D%E6%BC%AB%E7%94%BB

预期是什么?

能正常抓取

实际发生了什么?

Route /copymanga/comic/:id/:chapterCnt? 返回空内容,无法抓取章节数据

部署

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

部署相关信息

No response

额外信息

Helpful Information

Error Message:
FetchError: [GET] "https://www.mangacopy.com/api/v3/comic/xiangyaochengweiyingzhishilizhe/group/default/chapters?limit=500&offset=0": <no response> fetch failed

Route: /copymanga/comic/:id/:chapterCnt?

Full Route: /copymanga/comic/xiangyaochengweiyingzhishilizhe/10

Node Version: v22.16.0

Git Hash: 4cd3cabc

Git Date: Wed, 28 May 2025 23:11:00 GMT

这不是重复的 issue

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

vp7x avatar May 29 '25 00:05 vp7x

Searching for maintainers:
  • /copymanga/comic/:id/:chapterCnt?: @btdwv @marvolo666

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 May 29 '25 00:05 github-actions[bot]

@TonyRL

Hello, thank you for the fix.

I still have one question though. In the file lib/routes/copymanga/comic.ts, line 77:

guid: `https://copymanga.site/comic/${comic_path_word}/chapter/${uuid}`,

This domain copymanga.site is outdated and no longer works. So this should be updated as well, right?

https://github.com/DIYgod/RSSHub/pull/19401/files#diff-f91566e34c39aed0fdcff917312aab00d85753e80b549cad3bf2669026940693R77

Thomas-Harrell avatar Jun 18 '25 06:06 Thomas-Harrell

It's a guid . Changing it will cause duplicates entries of current items for all users. Apart from that, I believe no RSS readers will server it as entry link since guid is not necessary a visitable link.

TonyRL avatar Jun 18 '25 08:06 TonyRL

@TonyRL

Thank you for your answer.

Thomas-Harrell avatar Jun 18 '25 10:06 Thomas-Harrell

/test

/copymanga/comic/lanxiang/5

Thomas-Harrell avatar Jun 24 '25 11:06 Thomas-Harrell

Route Test failed, please check your comment body. Check logs for more details. 路由测试失败,请确认评论部分符合格式规范,详情请检查 日志

github-actions[bot] avatar Jun 24 '25 11:06 github-actions[bot]