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.58k stars 141 forks source link

Doesn't work for videos on Firefox #18

Open Anony400 opened 1 year ago

Anony400 commented 1 year ago

When using Firefox all videos I try to download show 9 bytes for file size and they never download correctly. I can download them just like I would on Chrome, but they end up being 9 byte files with mp4 extension.

EuropaYou commented 1 year ago

Does it say anything on the console?

apwhitelaw commented 9 months ago

Don't know if it has changed since the creation of this issue, but for me it just completely fails with Firefox.

UI shows 'undefined' for filename and progress bar says 'aborted'.

Example of console output: (Displays the actual message link)

[Tel Download] example.mp4: URL: https://web.telegram.org/a/
[Tel Download] example.mp4: Error: Non 200/206 response was received: 404
clemenlg commented 9 months ago

Same error with Firefox 121.0.1 x64: [Tel Download] 1vc0mo6.mp4: Error: Non 200/206 response was received: 404 Telegram-Media-Downloader.user.js:28:15 error moz-extension://296593b8-f2fd-46e5-b4e3-d4e5c0dadb68/userscripts/Telegram-Media-Downloader.user.js?id=xxx:28 fetchNextPart moz-extension://yyy/userscripts/Telegram-Media-Downloader.user.js?id=xxx:236

Ofuscated id's.

Neet-Nestor commented 8 months ago

This issue has been repeatedly reported so I will add a troubleshooting section on the script page. The root reason stays unknown to me but historically switching browser fixes it and as time passes it fixes itself automatically.