diff --git a/src/api/anilistapi.py b/src/api/anilistapi.py index 0ed44e3..ec95794 100644 --- a/src/api/anilistapi.py +++ b/src/api/anilistapi.py @@ -7,15 +7,14 @@ class anilistAPI(AnilistAPI): def __init__(self): super().__init__() - def getSeries(self, title): - search = title - manga = self.search_manga(search) + def getSeries(self, title: str): + manga = self.search_manga(title) if manga: return manga else: return None - def get_metadata(self, manga_id): + def get_metadata(self, manga_id: int): metadata = self.get_manga(manga_id) return metadata