Update YugenAnime.kt
consumet has closed it's public api instance for months now and to use it consumet a person has to host his/her own instance so just updated the instance
This commit is contained in:
parent
efaa9db40b
commit
efc0f6eaef
|
@ -31,8 +31,8 @@ class YugenAnime : MainAPI() {
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val consumetAnilist = "https://api.consumet.org/meta/anilist"
|
private const val consumetAnilist = "https://consumet-instance.vercel.app/meta/anilist"
|
||||||
private const val consumetMal = "https://api.consumet.org/meta/mal"
|
private const val consumetMal = "https://consumet-instance.vercel.app/meta/mal"
|
||||||
|
|
||||||
fun getType(t: String): TvType {
|
fun getType(t: String): TvType {
|
||||||
return if (t.contains("OVA", true) || t.contains("Special", true)) TvType.OVA
|
return if (t.contains("OVA", true) || t.contains("Special", true)) TvType.OVA
|
||||||
|
|
Loading…
Reference in New Issue