mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora: small fix in Smashy
This commit is contained in:
parent
07f3a57857
commit
a19623d0e9
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ suspend fun invokeSmashyTwo(
|
||||||
).parsedSafe<Smashy1Source>() ?: return
|
).parsedSafe<Smashy1Source>() ?: return
|
||||||
|
|
||||||
val videoUrl = base64Decode(source.file ?: return)
|
val videoUrl = base64Decode(source.file ?: return)
|
||||||
|
if(videoUrl.contains("/bug")) return
|
||||||
val quality =
|
val quality =
|
||||||
Regex("(\\d{3,4})[Pp]").find(videoUrl)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
Regex("(\\d{3,4})[Pp]").find(videoUrl)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
||||||
?: Qualities.P720.value
|
?: Qualities.P720.value
|
||||||
|
|
Loading…
Reference in a new issue