mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Oploverz: fixed sources
This commit is contained in:
parent
88c52c4eca
commit
a11d9071e5
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 10
|
version = 11
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -202,7 +202,7 @@ class OploverzProvider : MainAPI() {
|
||||||
if (streamingSources.isNotEmpty()) sources.addAll(streamingSources)
|
if (streamingSources.isNotEmpty()) sources.addAll(streamingSources)
|
||||||
|
|
||||||
val downloadSources =
|
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") }
|
item.select("a").map { item.select("strong").text() to it.attr("href") }
|
||||||
}.flatten()
|
}.flatten()
|
||||||
if (downloadSources.isNotEmpty()) sources.addAll(downloadSources)
|
if (downloadSources.isNotEmpty()) sources.addAll(downloadSources)
|
||||||
|
|
Loading…
Reference in a new issue