justfoolingaround / animdl

A highly efficient, fast, powerful and light-weight anime downloader and streamer for your favorite anime.
GNU General Public License v3.0
1.33k stars 109 forks source link

"Stream does not support ranged downloading; failed downloads cannot be continued." and the video is in .txt for some reason. #259

Closed dcdelacuesta closed 1 year ago

dcdelacuesta commented 1 year ago

I want to download this new anime called "Oshi no Ko", but it does not and this is what it says:

"downloader/standard[E01.txt]: CRITICAL] Stream does not support ranged downloading; failed downloads cannot be continued. GET / E01.txt: 0.00B [00:00, ?B/s]"

Also why is the file in .txt and not in .ts or .mp4 or any other video format? I'm using v1.7.12 on Windows 10.

I don't want to change sources because I like allanime.

This is the full screenshot: oshi-no-ko

tokisuno commented 1 year ago

still seems to be the case.

justfoolingaround commented 1 year ago

Fixed, this was due to AllAnime. Parts of codebase need rewrite to accommodate for AllAnime's audio/video separation. So I suggest just streaming for now. Downloading would give you video-only.

tokisuno commented 1 year ago

i found that changing the filetype to .mp4 in cli makes it run fine. maybe having a filetype check before it finishes downloading would work? this could be me oversimplifying the issue though since you did say you have to rewrite parts of the codebase

justfoolingaround commented 1 year ago

The internal downloader complies with what the servers gives it. It could be a different issue altogether to be honest, since this is very old.

tokisuno commented 1 year ago

but what im suggesting is checking file format after compile. like im thinking some jank script that runs after the main program runs that checks "if file format isn't [list of supported formats], then convert to [mp4]" or whatever would be most likely to work.

readme should also contain this:

If your videos are downloading without an extension/as .txt files, don't panic. All you have to do is change the extension to a video type (mp4 works, i've tried) and your videos will play as normal.