robinovitch61 / webtoon-dl

A webtoon comic downloader for the command line/terminal
MIT License
12 stars 1 forks source link

Unexpected EOF error #4

Closed Konbu845 closed 4 months ago

Konbu845 commented 5 months ago

Hello, firstly, I want to thank you very much for this command! It worked well, sorting through the series but then I received an error "unexpected EOF". I am new to using codes and stuff so I couldn't figure out the problem. I used the prompt for an Indonesian webtoon version on Windows Terminal x64 and the latest version of webtoon-dl. I've tried running the prompt couple of times but the issue persist.

error.txt

robinovitch61 commented 5 months ago

Hey @Konbu845 , thanks for the issue. The error likely indicates some sort of resource exhaustion on your machine, possibly out of memory. Can you retry with

webtoon-dl --eps-per-file=5 "https://www.webtoons.com/id/action/how-to-fight/list?title_no=1992"

This flag "episodes per file" will checkpoint your work more often, i.e. save a PDF every 5 episodes instead of the default 10.

If you get the error, then at least it's likely you'll have checkpointed some files and can use --min-ep= to start off from where you last checkpointed. See the README for full examples.

Konbu845 commented 4 months ago

Hi, I've tried the above prompt but now another new error popped up (Access is denied). I've also tried the --min-ep= as well as webtoon-dl --min-ep=10 --max-ep=20 --eps-per-file=1 but the results remain the same.

eps-per-file.txt --min --max --eps-per-file.txt --min --max.txt

Konbu845 commented 4 months ago

Oh, hey, it's fine. I ran it again this time with windows powershell as administrator with this webtoon-dl --min-ep=10 --max-ep=20 --eps-per-file=1 and it works!! Thank you for your help!