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:
Saksham Kushwaha 2023-12-30 15:04:09 +05:30 committed by GitHub
parent efaa9db40b
commit efc0f6eaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ class YugenAnime : MainAPI() {
)
companion object {
private const val consumetAnilist = "https://api.consumet.org/meta/anilist"
private const val consumetMal = "https://api.consumet.org/meta/mal"
private const val consumetAnilist = "https://consumet-instance.vercel.app/meta/anilist"
private const val consumetMal = "https://consumet-instance.vercel.app/meta/mal"
fun getType(t: String): TvType {
return if (t.contains("OVA", true) || t.contains("Special", true)) TvType.OVA