insane megacloud fix

This commit is contained in:
Josef František Straka 2025-02-27 20:17:34 +01:00
parent 7da54a265f
commit e8be48a2aa

View file

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