mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
size fix in UHDMovies
This commit is contained in:
parent
1ce4c45207
commit
3932fd32ab
1 changed files with 1 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ object SoraExtractor : SoraStream() {
|
||||||
|
|
||||||
val videoQuality = Regex("(\\d{3,4})p").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
val videoQuality = Regex("(\\d{3,4})p").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
||||||
?: Qualities.Unknown.value
|
?: Qualities.Unknown.value
|
||||||
val videoSize = size.substringBefore("/").let { if(it.contains("[")) it else "[$it]" }
|
val videoSize = size.substringBeforeLast("/").let { if(it.contains("[")) it else "[$it]" }
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
"UHDMovies $videoSize",
|
"UHDMovies $videoSize",
|
||||||
|
|
Loading…
Reference in a new issue