Added Mover and other improvements

This commit is contained in:
2026-05-23 16:09:13 +02:00
parent 3dab98cb41
commit 377aff34d0
4 changed files with 440 additions and 5 deletions
+4 -1
View File
@@ -171,7 +171,10 @@ class MALResolver:
detailed = self.get_characters_detailed(mal_id)
names = [e["name"] for e in detailed if e.get("name")]
self._char_names_cache[mal_id] = names
if names:
# Only cache a successful result — empty could be a transient
# API failure and we want the next call to retry.
self._char_names_cache[mal_id] = names
return names
def get_characters_for_manga(self, title: str) -> list[str]: