You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we convert every entity which has links in a post to an <a> tag. If there is one image link in the post this works okay with the Telegram's link preview functionality. But when there is more than one link in the post only the first link is previewed.
Instead of converting everything to <a> tags, we want to send the images/videos/documents as different messages. It would be best if the images are sent as an album (in case a post has more than one image)
There are also TODOs about attachments scattered through the code relevant to this issue.
Description
Currently we convert every entity which has links in a post to an
<a>
tag. If there is one image link in the post this works okay with the Telegram's link preview functionality. But when there is more than one link in the post only the first link is previewed.Instead of converting everything to
<a>
tags, we want to send the images/videos/documents as different messages. It would be best if the images are sent as an album (in case a post has more than one image)There are also
TODO
s about attachments scattered through the code relevant to this issue.Relevant Files
newsparser.py
newsreader.py
The text was updated successfully, but these errors were encountered: