tdl icon indicating copy to clipboard operation
tdl copied to clipboard

[Bug] Please complete title/tdl 下载失败后,重新下载的时候重复下载已下载的文件

Open Verfolgerle opened this issue 1 year ago • 2 comments

Describe the bug

下载失败后,重新下载的时候重复下载已下载的文件,可复现 image image

To Reproduce

执行tdl dl 命令下载任一导出的json文件,可随时复现 tg tdl dl -f tdl-export.json -d /root/ex-data/tg --pool 0 -t 60 -l 4 --continue Found unfinished download, continue from '35/100'

Expected behavior

应该正常统计已下载的数量,而不应该下载报错后,直接回到原点,一直无限循环下载

Version

Version: 0.18.3 Commit: 3cac28d Date: 2024-11-29T08:24:07Z

Which OS are you running tdl on?

Linux

Additional context

No response

Verfolgerle avatar Dec 25 '24 05:12 Verfolgerle

I can confirm same issue is happening on windows. using same version, downloaded count doesn't gets updated after some unknown point... this is very annoying especially when you have to backup channel with many attachments.

tdlbugreport avatar Jan 21 '25 16:01 tdlbugreport

我也遇到这个问题

AmazingSec avatar Feb 07 '25 09:02 AmazingSec

Same problem, unbelievably severe but not fixed, from 2024! ?

YuHuanTin avatar Jul 03 '25 11:07 YuHuanTin

https://gist.github.com/YuHuanTin/60d01fb293adf5785119e9fffa894a3c I wrote a ts script to modify the original export.json, remove the downloaded part, and generate a new export.json for downloading. I have compiled the following related issues for reference: https://github.com/iyear/tdl/issues/889 https://github.com/iyear/tdl/issues/882 https://github.com/iyear/tdl/issues/856 https://github.com/iyear/tdl/issues/855 https://github.com/iyear/tdl/issues/854 https://github.com/iyear/tdl/issues/849

YuHuanTin avatar Jul 04 '25 03:07 YuHuanTin