Skip to content

Commit

Permalink
Fix speedfiles extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmaster055 committed Dec 14, 2024
1 parent 42b8d64 commit 1197839
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/aniworld/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def process_url(url):
"VOE",
"Vidmoly",
"Doodstream",
"Speedfiles",
"SpeedFiles",
"Vidoza"
],
max_height=6,
Expand All @@ -197,7 +197,7 @@ def process_url(url):
"VOE",
"Vidmoly",
"Doodstream",
"Speedfiles",
"SpeedFiles",
"Vidoza"
].index(aniworld_globals.DEFAULT_PROVIDER)
],
Expand Down Expand Up @@ -347,7 +347,7 @@ def get_language_code(self, language):

def validate_provider(self, provider_selected):
logging.debug("Validating provider: %s", provider_selected)
valid_providers = ["Vidoza", "Streamtape", "VOE", "Doodstream", "Speedfiles"]
valid_providers = ["Vidoza", "Streamtape", "VOE", "Doodstream", "SpeedFiles"]
while provider_selected[0] not in valid_providers:
logging.debug("Invalid provider selected, falling back to Vidoza")
npyscreen.notify_confirm(
Expand Down Expand Up @@ -516,7 +516,7 @@ def parse_arguments():
action_group.add_argument(
'-p', '--provider',
type=str,
choices=['Vidoza', 'Streamtape', 'VOE', 'Doodstream', 'Vidmoly', 'Doodstream', "Speedfiles"],
choices=['Vidoza', 'Streamtape', 'VOE', 'Doodstream', 'Vidmoly', 'Doodstream', "SpeedFiles"],
help='Provider choice'
)

Expand Down
2 changes: 1 addition & 1 deletion src/aniworld/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def execute(params: Dict[str, Any]) -> None:
"Doodstream": doodstream_get_direct_link,
"Streamtape": streamtape_get_direct_link,
"Vidmoly": vidmoly_get_direct_link,
"Speedfiles": speedfiles_get_direct_link
"SpeedFiles": speedfiles_get_direct_link
}

selected_episodes = params['selected_episodes']
Expand Down

0 comments on commit 1197839

Please sign in to comment.