lib/megacloud fix type

This commit is contained in:
Your Name 2025-02-25 21:09:50 +08:00
parent 6a939e4f4a
commit 49b6689590

View file

@ -141,7 +141,7 @@ class MegaCloudExtractor(
}
private fun getVideoDto(url: String): VideoDto {
val type = if (url.startsWith("https://megacloud.tv")) 0 else 1
val type = if (url.startsWith("https://megacloud.")) 0 else 1
val keyType = SOURCES_KEY[type]