Skip to content

Commit

Permalink
fix webview url
Browse files Browse the repository at this point in the history
  • Loading branch information
hollowshiroyuki committed Apr 11, 2024
1 parent bd852db commit 6f7b418
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ class Sudatchi : AnimeHttpSource(), ConfigurableAnimeSource {
override fun searchAnimeParse(response: Response) = latestUpdatesParse(response)

// =========================== Anime Details ============================
override fun getAnimeUrl(anime: SAnime) = "$baseUrl${anime.url}"

override fun animeDetailsRequest(anime: SAnime) = GET("$baseUrl/api${anime.url}")

override fun animeDetailsParse(response: Response) = response.parseAs<ShortAnimeDto>().toSAnime(preferences.title)
Expand Down

0 comments on commit 6f7b418

Please sign in to comment.