telegram_media_downloader
telegram_media_downloader copied to clipboard
video thumbnail support
Could there be an option to choose whether to download the thumbnail along with the video if there are thumbnails in some videos? Thank you in advance.
@huzikai0424 hi, Thanks for your feedback, we will add it in the next version.
@huzikai0424 hi, Try the latest master branch.
It seems that it didn't work as only the video was downloaded without the thumbnail. By the way, can the name of the thumbnail be customized? I noticed that it is hardcoded in the code, which makes it difficult to associate the thumbnail with the video.
i hava one idea could we customized it in config.yaml like:
file_name_prefix:
- caption
- message_id // download {caption}_{message}.mp4
thum_name_prefix: mythumbnail_ // download mythumbnail_{caption}_{message}.jpg
if thum_name_prefix is null, we can skip download it.
Why do you need to download thumbnails separately, I thought it was forwarded messages without thumbnails
因为我之前就下载了好多视频,因为没有缩略图,都是靠ffmpeg二次生成的。有些转发的消息里面自带缩略图,我就想着可以跳过使用ffmpeg生成缩略图这一步了。 这本身是个伪需求,你的脚本已经能帮我实现自动采集了。非常感谢。 (不过看起来缩略图确实是没有下载成功)
缩略图 目前只有转发私有限制的才会下载,你说的这个后面版本加