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

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

Open
1 task done
ftf001-tech opened this issue Feb 3, 2025 · 3 comments · May be fixed by #18268
Labels
RSS bug Something isn't working

Comments

@ftf001-tech
Copy link

路由地址

/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,以确保该错误尚未被报告。
@ftf001-tech ftf001-tech added the RSS bug Something isn't working label Feb 3, 2025
Copy link
Contributor

github-actions bot commented Feb 3, 2025

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
Copy link

weskerty commented Feb 3, 2025

Telegram hasn't disabled public web view?

@synchrone synchrone linked a pull request Feb 3, 2025 that will close this issue
9 tasks
@synchrone
Copy link
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
Labels
RSS bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants