From 306102d0eecfff3e4ad69ca3f2d6938b1dfb3048 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 26 Jul 2021 15:17:33 -0400 Subject: [PATCH] MyAnimeList fix --- modules/mal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mal.py b/modules/mal.py index 12a163c6..6eecad33 100644 --- a/modules/mal.py +++ b/modules/mal.py @@ -28,10 +28,10 @@ userlist_sort_translation = { } userlist_sort_options = ["score", "last_updated", "title", "start_date"] userlist_status = ["all", "watching", "completed", "on_hold", "dropped", "plan_to_watch"] -base_url = "https://myanimelist.net" +base_url = "https://api.myanimelist.net" urls = { - "oauth_token": f"{base_url}/v1/oauth2/token", - "oauth_authorize": f"{base_url}/v1/oauth2/authorize", + "oauth_token": f"https://myanimelist.net/v1/oauth2/token", + "oauth_authorize": f"https://myanimelist.net/v1/oauth2/authorize", "ranking": f"{base_url}/v2/anime/ranking", "season": f"{base_url}/v2/anime/season", "suggestions": f"{base_url}/v2/anime/suggestions",