insane megacloud fix (#720)

This commit is contained in:
Josef František Straka 2025-02-27 20:29:59 +01:00 committed by GitHub
parent 7da54a265f
commit 5bcc263465
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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]