wolfswolke / aniworld_scraper

Aniworld.to mp4 scraper for animes.
MIT License
60 stars 17 forks source link

episode_override not working properly. #47

Closed marcmc1912 closed 6 months ago

marcmc1912 commented 6 months ago

regardless of whether I enter it in the terminal or in the constants.py file. It does not work properly either way. If it helps: I tried to download the Anime Monster in German and wanted to start at episode 45. The command: python3 main.py anime Monster Deutsch episode_override=45

Have I made a mistake?

wolfswolke commented 6 months ago

You are missing parameters. Please take a look at the bat file. And the script also checks for positions and not names so you need the value at the correct position. (Probably should add support for that...)

marcmc1912 commented 6 months ago

I use linux. Can you describe my error in more detail? Sorry for asking. And thank you for your service.

wolfswolke commented 6 months ago

There is also a run.sh But this should clear it up python3 "$SCRIPT_PATH" "$TYPE" "$NAME" "$LANGUAGE" "$DLMODE" "$SEASON" "$PROVIDER" The scraper checks for the location so item 0 has to be the type, 1 the name,...

marcmc1912 commented 6 months ago

run.sh: 35: Syntax error: "(" unexpected

wolfswolke commented 6 months ago

That is weird... I didn't write that script and don't know what could be wrong there right now. Please try to run the script with the parameters directly. So by filling them all in. You can also check the BAT for explanations on what what is. python3 "$SCRIPT_PATH" "$TYPE" "$NAME" "$LANGUAGE" "$DLMODE" "$SEASON" "$PROVIDER"

marcmc1912 commented 6 months ago

It works and where can I add episode_override? Command: python3 main.py anime Monster Deutsch Series 1 VOE

wolfswolke commented 6 months ago

src/constants episode_override = 0 # 0 = no override. 1 = episode 1. etc...

marcmc1912 commented 6 months ago

I have changed line 34 in the constants.py file: episode_override = 45 But it still starts at episode 1

wolfswolke commented 6 months ago

Sorry I misunderstood you. If you want to download only one specific episode you need to use the manuel_episode_download.py

wolfswolke commented 6 months ago

@marcmc1912 did you get it working? Is this solved?