Skip to content

Telegram Channel 订阅不能正确返回图片及视频 / Telegram Channel subscription not returning images and videos correctly #18260

Open
@ftf001-tech

Description

@ftf001-tech

路由地址

/telegram/channel/:username/:routeParams?

完整路由地址

/telegram/channel/NewlearnerChannel

相关文档

https://docs.rsshub.app/routes/popular#channel

预期是什么?

...
<title>#months #days 早上好☀️,今天是 2025 年 2 月的第一天,新春月来了 🎉 转眼间频道已经五年又五个半月了,喜迎 56900+ 订阅,感...</title>
<description><img src="https://cdn5.cdn-telegram.org/......" alt="" referrerpolicy="no-referrer">
...

实际发生了什么?

...
<title>#months #days 早上好☀️,今天是 2025 年 2 月的第一天,新春月来了 🎉 转眼间频道已经五年又五个半月了,喜迎 56900+ 订阅,感...</title>
<description><img src="undefined://undefined/telegram/channel/NewlearnerChannel1375282077_13916" alt="" referrerpolicy="no-referrer">
...

部署

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

部署相关信息

No response

额外信息

自建示例可复现该问题
该问题仅在需要传入`TELEGRAM_SESSION`的频道订阅中出现

Self-hosted one also have this issue
This issue only occurs with channel subscriptions that require `TELEGRAM_SESSION` to be passed in

这不是重复的 issue

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

Activity

github-actions

github-actions commented on Feb 3, 2025

@github-actions
Contributor
Searching for maintainers:

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

weskerty

weskerty commented on Feb 3, 2025

@weskerty

Telegram hasn't disabled public web view?

linked a pull request that will close this issue on Feb 3, 2025
synchrone

synchrone commented on Feb 3, 2025

@synchrone
Contributor

based on <img src="undefined: in this issue i see the author is using tglib channel implementation, or falling back to it somehow.

That part of code has been broken for a while now.

I sent my current "personal production" branch as PR in #18268, but the are some styling issues to fix still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RSS bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @synchrone@ftf001-tech@weskerty

      Issue actions

        Telegram Channel 订阅不能正确返回图片及视频 / Telegram Channel subscription not returning images and videos correctly · Issue #18260 · DIYgod/RSSHub