Neet-Nestor / Telegram-Media-Downloader

A script allowing you to download images and videos from Telegram web even if the group restricts downloading.
https://greasyfork.org/en/scripts/446342-telegram-media-downloader
GNU General Public License v3.0
1.5k stars 137 forks source link

Cant download video file. The download stops at 65% #90

Open Nekspsy opened 2 weeks ago

Nekspsy commented 2 weeks ago

There was a problem on one video file, I haven't seen this error on others at the moment. The download is in progress, but stops at 65%, errors are visible in the console. I tried different browsers, different versions of telegram (a/k), the situation is similar everywhere. What could be the problem? I'm attaching screenshots

----- A version ----- 2024-10-02_16-16-03

----- K version ----- 2024-10-02_15-41-00

2024-10-02_15-43-12

Neet-Nestor commented 2 weeks ago

From the console output and description, what happens is that the Telegram server failed to respond at this specific point. As you tried multiple times and the same issue persists, this doesn't look like a transient issue. I wonder whether you can normally play the entire video on the webapp?

The root cause seems unclear to me and I assume it's some kind of Telegram mechanism to prevent suspicious network loading, and I assume this only happens to long and large videos. I will suggest you try to keep the video played in background while downloading it to see if it fix the issue.

Meanwhile, I will add a retry mechanism instead of failing immediately after failed network fetch requests.

Chippyvlr commented 2 weeks ago

Greetings! Have same issue, only with one video, other large and long files downloading just fine. Any workarounds for this?