Open candrapersada opened 1 year ago
Usually, when the remote HTTP server doesn't want to send the segment file data, it will respond with an HTTP status code like 400, 401, or 403 ..., then FileCentipede will wait for a few seconds and try to re-download it.
If it fails, an error like "Address expired" or "Server busy" will be displayed.
But some special HTTP servers may return an HTTP status code 200 with incorrect data like this:
{"code:" 403, "message": "too many requests"}
So, FileCentipede will treat it as segment file data and write it to the disk.
Another case is remote HTTP server didn't have the "Content-Length" or "Transfer-Encoding: Chunked" field in the HTTP header, it will close the connection when the transfer is completed, but if the remote HTTP server closes the connection before all data is received, the segment data will be incomplete.
Unlike the BitTorrent protocol, HTTP doesn't have block hashes. So, it's uncheckable and unfixable.
The good news is the probabilities are very low, and it only happens when the connectivity is Unreliable.
Answer your question: There's no option to download specified segments, but I will make one in the future.
but the problem occurs more often when using a chromium based browser code 404
what 404?
404 means the remote server doesn't have the file.
but if you press the start button or resume the download runs normally but the segment is broken
Error code is only based on the HTTP server's response.
If the state is "Error code 404", after a while it becomes normal again, maybe you should not download it from the server.
but the problem is only in chrome and it doesn't happen to firefox
I have no idea, FileCentipede chrome extension and firefox extension used the same code.
It's the website's problem.
when I download videos from https://embedy.cc/ It works fine on firefox, but I can't download the same video when I use chrome.
chrome page URL https://146.19.24.137/sonic-the-hedgehog-2-2022/ address https://hive.gdriveplayer.link/slzvXw3o5Cxb-2KLIniFwbFq0672-bqfyqo6CxyNFrv0a9ZxI_S0-2S3o1Azyw6MCSUyPlE5FJ5dbOUsI-7dzg/jlfRTrrrc4j6hLtzVeInYYnhpS1zDQNVHl2_o-WoDYw/360.m3u8 Referer: https://gdriveplayer.link/player/hykGobzjSz4VBer/ Origin: https://gdriveplayer.link Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
this m3u8 file works fine for me.
Has it been tested too page URL https://146.19.24.137/sonic-the-hedgehog-2-2022 in chromium based browser?
Yes, I tested.
Have you tried clearing your browser cookies?
no
chrome_mv3
why download segment make video ts corruption? and is there any option to retries the broken segment download without re-downloading everything for example if segment 201 is damaged from 500, will the download be repeated for 201 when using connection 16?
https://146.19.24.137/sonic-the-hedgehog-2-2022/