diff --git a/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt b/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt index d8c6c9829..af605a821 100644 --- a/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt +++ b/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt @@ -13,7 +13,7 @@ import org.jsoup.nodes.Element import java.net.URI class YugenAnime : MainAPI() { - override var mainUrl = "https://yugenanime.tv" + override var mainUrl = "https://yugenanime.sx" override var name = "YugenAnime" override val hasMainPage = true override var lang = "en" @@ -84,7 +84,7 @@ class YugenAnime : MainAPI() { } override suspend fun search(query: String): List { - val document = app.get("$mainUrl/search/?q=$query").document + val document = app.get("$mainUrl/discover/?q=$query").document return document.select("div.cards-grid a.anime-meta").mapNotNull { it.toSearchResult() } @@ -231,4 +231,4 @@ class YugenAnime : MainAPI() { @JsonProperty("season") val season: String? = null, ) -} \ No newline at end of file +}