mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-05 20:40:09 -08:00
fix(anilist-download): prefer romaji title over english when searching provider
This commit is contained in:
@@ -187,11 +187,7 @@ def download(
|
||||
translation_type = config.translation_type
|
||||
download_dir = config.downloads_dir
|
||||
anime_titles = [
|
||||
(
|
||||
anime["title"][config.preferred_language]
|
||||
or anime["title"]["english"]
|
||||
or anime["title"]["romaji"]
|
||||
)
|
||||
(anime["title"]["romaji"] or anime["title"]["english"])
|
||||
for anime in anilist_search_results["data"]["Page"]["media"]
|
||||
]
|
||||
print(f"[green bold]Queued:[/] {anime_titles}")
|
||||
|
||||
Reference in New Issue
Block a user