mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
2752abaf31
commit
374be0ea41
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,7 @@ import kotlin.math.min
|
||||||
val soraAPI =
|
val soraAPI =
|
||||||
base64DecodeAPI("cA==YXA=cy8=Y20=di8=LnQ=b2s=a2w=bG8=aS4=YXA=ZS0=aWw=b2I=LW0=Z2E=Ly8=czo=dHA=aHQ=")
|
base64DecodeAPI("cA==YXA=cy8=Y20=di8=LnQ=b2s=a2w=bG8=aS4=YXA=ZS0=aWw=b2I=LW0=Z2E=Ly8=czo=dHA=aHQ=")
|
||||||
val bflixChipperKey = base64DecodeAPI("Yjc=ejM=TzA=YTk=WHE=WnU=bXU=RFo=")
|
val bflixChipperKey = base64DecodeAPI("Yjc=ejM=TzA=YTk=WHE=WnU=bXU=RFo=")
|
||||||
val bflixKey = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
const val bflixKey = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
||||||
const val kaguyaBaseUrl = "https://kaguya.app/"
|
const val kaguyaBaseUrl = "https://kaguya.app/"
|
||||||
val soraHeaders = mapOf(
|
val soraHeaders = mapOf(
|
||||||
"lang" to "en",
|
"lang" to "en",
|
||||||
|
@ -545,6 +545,7 @@ suspend fun invokeSmashyRip(
|
||||||
source?.split(",")?.map { links ->
|
source?.split(",")?.map { links ->
|
||||||
val quality = Regex("\\[(\\d+)]").find(links)?.groupValues?.getOrNull(1)?.trim()
|
val quality = Regex("\\[(\\d+)]").find(links)?.groupValues?.getOrNull(1)?.trim()
|
||||||
val link = links.removePrefix("[$quality]").substringAfter("dev/").trim()
|
val link = links.removePrefix("[$quality]").substringAfter("dev/").trim()
|
||||||
|
if(link.isEmpty()) return@map
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
"Smashy [$name]",
|
"Smashy [$name]",
|
||||||
|
|
Loading…
Reference in a new issue