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.39k stars 277 forks source link

[Bug]: the program adds one to the last_read_message_id value #139

Open 40OIL opened 9 months ago

40OIL commented 9 months ago

telegram_media_downloader version or commit

2.2.3

What OS are you seeing the problem on?

Windows

Python Version

3.8

What happened?

the program should not go beyond the number of the last available chat message

Expected Behavior

return the program to normal behavior

Current Behavior

every time the program is launched, and not a single message has been added to the chat since the previous launch of the program - it still adds one to the last_read_message_id value in config.yaml, and it becomes greater than the number of the last message. Accordingly, at the next start, even new messages are not processed.

current version of the program is 2.2.3 "07c59fe (origin/plus) feat: support caption replace" (updated to it 2023-12-15)

this was not the case with version "1280550 (origin/master, origin/HEAD) fix: download error (#88)" (updated to it on 2023-06-25)

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

40OIL commented 9 months ago

version 2.2.1 "313c21e (HEAD -> master, origin/master, origin/HEAD) doc: update gif support readme" is also normal.

and in version 2.2.3 the ids_to_retry list in data.yaml is not cleared yet

srgank666 commented 7 months ago

Any news about this one? With this issue is not usable.

Claudinetto2 commented 3 months ago

I have the same problem, is there a solution?

40OIL commented 3 months ago

There is no solution from the author. I rolled back to version 2.2.1 "313c21e (HEAD -> master, origin/master, origin/HEAD) doc: update gif support readme"

Bo0oM commented 3 months ago

+1

Bo0oM commented 1 month ago

@tangyoha Still relevant today)

tangyoha commented 4 weeks ago

我们会在迁移完成后修复该问题