From 3fd76e4f93d27f5f4d64a460abec739acf90ab4b Mon Sep 17 00:00:00 2001 From: MajorTanya <39014446+MajorTanya@users.noreply.github.com> Date: Thu, 2 Jul 2026 20:03:24 +0200 Subject: [PATCH] Fix Shikimori URL (#3497) There is a redirect from the .one domain to the .io domain but it uses code 301 for redirecting on the token POST request, meaning the followup request tries to use GET which returns a 404. --- CHANGELOG.md | 3 +++ .../eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3298eb962..7667173da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co ### Added - Support resumable image downloads if supported by source ([@xMohnad](https://github.com/xMohnad)) ([#3167](https://github.com/mihonapp/mihon/pull/3167)) +### Fixed +- Fix Shikimori tracking not working ([@MajorTanya](https://github.com/MajorTanya)) ([#3497](https://github.com/mihonapp/mihon/pull/3497)) + ## [v0.20.0] - 2026-06-27 ### Added - Add support for `tachiyomix` 1.6 extensions ([@AntsyLich](https://github.com/AntsyLich)) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt index b11fc9877..831dfda0b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt @@ -154,7 +154,7 @@ class ShikimoriApi( ) companion object { - const val BASE_URL = "https://shikimori.one" + const val BASE_URL = "https://shikimori.io" private const val API_URL = "$BASE_URL/api" private const val OAUTH_URL = "$BASE_URL/oauth/token" private const val LOGIN_URL = "$BASE_URL/oauth/authorize"