forked from recloudstream/cloudstream
fixed #975
This commit is contained in:
parent
510411a9bc
commit
aa368219a0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class EgyBestProvider : MainAPI() {
|
||||||
override var name = "EgyBest"
|
override var name = "EgyBest"
|
||||||
override val usesWebView = false
|
override val usesWebView = false
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie)
|
override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie, TvType.Anime)
|
||||||
|
|
||||||
private fun String.getIntFromText(): Int? {
|
private fun String.getIntFromText(): Int? {
|
||||||
return Regex("""\d+""").find(this)?.groupValues?.firstOrNull()?.toIntOrNull()
|
return Regex("""\d+""").find(this)?.groupValues?.firstOrNull()?.toIntOrNull()
|
||||||
|
|
Loading…
Reference in a new issue