tangyoha / telegram_media_downloader

基于Dineshkarthik的项目, 电报视频下载,电报资源下载,跨平台,支持web查看下载进度 ,支持bot下发指令下载,支持下载已经加入的私有群但是限制下载的资源, telegram media download,Download media files from a telegram conversation/chat/channel up to 2GiB per file
MIT License
2.04k stars 236 forks source link

[Feature]: I think resuming interrupted downloads would be a good feature #134

Open mhdy2233 opened 6 months ago

mhdy2233 commented 6 months ago

Description

I think resuming interrupted downloads would be a good feature 我觉得断点续传会是个不错的功能 This can prevent the server from being disconnected during large-scale downloads and requiring re-downloading. 这样可以防止大量下载的时候服务器断线导致需要重新进行下载

Suggested Solution

You can ask the robot to first record all files that need to be downloaded and uploaded, divided into to-be-completed, running, uploading, and completed (or deleted directly). After the robot starts, download or upload the last record first, and delete the half-downloaded records. 可以让机器人先对所有需要下载上传的文件进行记录,分成待完成、运行中、上传中、已完成(或者直接删掉)。在机器人启动后先对上一次的记录进行下载或上传,并将下载到一半的进行删除。

Alternatives

No response

Additional Context

No response