diff --git a/OploverzProvider/build.gradle.kts b/OploverzProvider/build.gradle.kts index fc0656bf..30ca2501 100644 --- a/OploverzProvider/build.gradle.kts +++ b/OploverzProvider/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 10 +version = 11 cloudstream { diff --git a/OploverzProvider/src/main/kotlin/com/hexated/OploverzProvider.kt b/OploverzProvider/src/main/kotlin/com/hexated/OploverzProvider.kt index 8000f424..a8cad9c3 100644 --- a/OploverzProvider/src/main/kotlin/com/hexated/OploverzProvider.kt +++ b/OploverzProvider/src/main/kotlin/com/hexated/OploverzProvider.kt @@ -202,7 +202,7 @@ class OploverzProvider : MainAPI() { if (streamingSources.isNotEmpty()) sources.addAll(streamingSources) val downloadSources = - document.select("div.mctnx div:contains(mp4) div.soraurlx").mapNotNull { item -> + document.select("div.mctnx div.soraurlx").mapNotNull { item -> item.select("a").map { item.select("strong").text() to it.attr("href") } }.flatten() if (downloadSources.isNotEmpty()) sources.addAll(downloadSources)