Skip to content

Commit

Permalink
Fix where AnimeAPI URL still set to V2
Browse files Browse the repository at this point in the history
Bro, i really didnt realize if the bot still uses deprecated, inactive url 💀
  • Loading branch information
nattadasu authored Sep 14, 2024
1 parent 54b644e commit 1fb99c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/animeapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async def get_relation(
return AnimeApiAnime(**cached_data)
try:
async with self.session.get(
f"https://aniapi.nattadasu.my.id/{platform}/{media_id}"
f"{self.base_url}/{platform}/{media_id}"
) as resp:
jsonText = await resp.text()
jsonText = json.loads(jsonText)
Expand Down

0 comments on commit 1fb99c8

Please sign in to comment.