KevCui / animepahe-dl

:arrow_down: animepahe anime downloader
Do What The F*ck You Want To Public License
101 stars 24 forks source link

Issue while downloading #72

Closed CiekawyMichu closed 2 years ago

CiekawyMichu commented 2 years ago

I tried using -t to download faster, but it finishes after the first episode and it outputs a folder with segments of the video.

obraz

Here is the output https://pastebin.com/gKWFx40p

KevCui commented 2 years ago

Hey @CiekawyMichu, unfortunately the logs don't show any errors. The script appears to be finished while running the decrypt_segments function. So far, I don't know why, I guess maybe some segments are missing. Do you retry to download the same episode? If it's still not working, I'd suggest running the script without the flag -t.

CiekawyMichu commented 2 years ago

I did retry a few more times, tried also other anime, nothing seems to help.

KevCui commented 2 years ago

Hey @CiekawyMichu, please check if running the script without -t works for you? If you caught any error message, let me know.

CiekawyMichu commented 2 years ago

It does work, but it's painfully slow

KevCui commented 2 years ago

Hey @CiekawyMichu, I checked again your logs. From the logs, all segments should be downloaded. I'm thinking maybe it's something wrong with bash process substitution. Could you please check which bash version on your machine? bash --version

CiekawyMichu commented 2 years ago

It's version 5.1.16(1)-release (x86_64-alpine-linux-musl)

KevCui commented 2 years ago

@CiekawyMichu, ok, then it shouldn't be the process substitution... Besides, the same code structure is used to download segments. As the download part works, it should work for the decrypt part as well...

I have no idea as for now what goes wrong. I removed some redundant code in the latest commit and pushed it. I don't think it can solve the issue you are facing. But maybe give it a try since I have no other idea, sorry about that.

CiekawyMichu commented 2 years ago

It works now, thank you very much.