[53] update name

pull/1226/head
meisnate12 2 years ago
parent 1ef9b20d94
commit 63f477abf2

@ -1 +1 @@
1.18.0-develop52 1.18.0-develop53

@ -108,8 +108,8 @@ class MyAnimeList:
def studios(self): def studios(self):
if not self._studios: if not self._studios:
for data in self._pagination("producers"): for data in self._pagination("producers"):
self._studios[data["name"]] = int(data["mal_id"]) self._studios[data["titles"][0]["title"]] = int(data["mal_id"])
self._studios[data["name"].lower()] = int(data["mal_id"]) self._studios[data["titles"][0]["title"].lower()] = int(data["mal_id"])
self._studios[str(data["mal_id"])] = int(data["mal_id"]) self._studios[str(data["mal_id"])] = int(data["mal_id"])
self._studios[int(data["mal_id"])] = data["titles"][0]["title"] self._studios[int(data["mal_id"])] = data["titles"][0]["title"]
return self._studios return self._studios

Loading…
Cancel
Save