wolfswolke / aniworld_scraper

Aniworld.to mp4 scraper for animes.
MIT License
56 stars 15 forks source link

Program crashes after correct inputs with bat file[BUG] #56

Closed NINJAMINEBRO closed 1 month ago

NINJAMINEBRO commented 2 months ago

Describe the bug: The program crashes after all inputs for the bat file have been completed

Steps to Reproduce the bug: Just try to download anything using the bat file

Solution: I looked at your code and I saw when you create the file_name file_name = "{}S/{}-E{}-{}.mp4".format(name, season_override, episode_override, name) you used the "/" symbol and the later try to create a file with that name, BUT windows does not allow this spesific symbol and just removing it should fix the bug. I set up the program in python with the symbol removed and it worked.

wolfswolke commented 2 months ago

That is the folder path. Media as Movie/NAME or SeasonX/NAME... I will take a look in the morning but I tested the latest release on 4 windows computers today with no issues and that part of the code has not been touched in a long time with no issues.

wolfswolke commented 1 month ago

You are using the manual_episode_download.py which has not been used and updated in some time. I will try and fix that when i have time. If you dont need to download only one episode you can use the main batch/script.

Also: Just try to download anything using the bat file This can not happen with the BAT as it runs MAIN.py which does not have any code like that.

If that somehow is code from the MAIN.py/Batch please reply with LOGS so i can assist you there. @NINJAMINEBRO

NINJAMINEBRO commented 1 month ago

Ok, thanks for the help.

On Wed, Jul 10, 2024, 10:01 PM ZKWolf @.***> wrote:

You are using the manual_episode_download.py https://github.com/wolfswolke/aniworld_scraper/blob/main/src/manual_episode_download.py which has not been used and updated in some time. I will try and fix that when i have time. If you dont need to download only one episode you can use the main batch/script.

Also: Just try to download anything using the bat file This can not happen with the BAT as it runs MAIN.py which does not have any code like that.

If that somehow is code from the MAIN.py/Batch please reply with LOGS so i can assist you there. @NINJAMINEBRO https://github.com/NINJAMINEBRO

— Reply to this email directly, view it on GitHub https://github.com/wolfswolke/aniworld_scraper/issues/56#issuecomment-2221325817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXSGIXGJM4B77T7G537ADYLZLWHINAVCNFSM6AAAAABKRTHHBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRGMZDKOBRG4 . You are receiving this because you were mentioned.Message ID: @.***>

wolfswolke commented 1 month ago

@NINJAMINEBRO Please try it out again. It should work now. I also added a Manual_download.py.

NINJAMINEBRO commented 1 month ago

Thanks a lot, I'll also use it a lot.