diff --git a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt index 7704fc77..427b29ed 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/GogoanimeProvider.kt @@ -18,6 +18,7 @@ class GogoanimeProvider : MainAPI() { else if (t.contains("Movie")) TvType.AnimeMovie else TvType.Anime } + fun getStatus(t: String): ShowStatus { return when (t) { "Completed" -> ShowStatus.Completed @@ -25,6 +26,7 @@ class GogoanimeProvider : MainAPI() { else -> ShowStatus.Completed } } + val qualityRegex = Regex("(\\d+)P") } @@ -58,7 +60,8 @@ class GogoanimeProvider : MainAPI() { "sec-fetch-dest" to "empty", "referer" to "$mainUrl/" ) - val parseRegex = Regex("""