Oploverz: fixed sources

This commit is contained in:
hexated 2023-03-07 01:14:17 +07:00
parent 88c52c4eca
commit a11d9071e5
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 10
version = 11
cloudstream {

View file

@ -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)