-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[TelegramBridge] Images in old posts do not load due to media URLs with expiration date #1901
Comments
@VerifiedJoseph, do you have any idea how to implement those jumper URLs or other ways to solve this issue? |
@ValdikSS, does your RSS reader not support local caching of images and other media? Jumper URLs is an interesting idea. I'm not sure how it would be implemented given how the bridges currently work. |
It does not. |
Another option would be to cache the images on the server running the rss-bridge, that would simpler to implement. |
Telegram attachments may contain multi-gigabyte videos. I use public |
@VerifiedJoseph, I have the idea. You could add one special context to TelegramBridge. The task of that context is not returning feeds, but make 302 redirections to that media by given URL or something that does identify that media. With the bridge code addition, it is required to add code, that hides those special context inputs from bridge card. |
@em92 So should we wait for fix? |
@squromiv no one is assigned to this task, so feel free to make PR. |
@em92 |
Describe the bug
URLs for media in Telegram returned in web preview (
https://cdn4.telesco.pe/file/…
) are not persistent, they work only for limited amount of time. Due to this fact, the older Telegram posts in the channel have broken images and other media elements in the RSS reader.The bridge should implement a jumper URLs to the bridge script itself, which would update the links and redirect the request to working updated URLs with HTTP redirect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The media should be loaded even in the older posts.
Screenshots
The image URL returns HTTP 404.
Desktop (please complete the following information):
feed.eugenemolotov.ru
The text was updated successfully, but these errors were encountered: