mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix
This commit is contained in:
parent
e871756846
commit
b5d459ee0b
2 changed files with 9 additions and 24 deletions
|
@ -209,7 +209,7 @@ open class VCloud : ExtractorApi() {
|
||||||
)
|
)
|
||||||
).document.select("p.text-success ~ a").apmap {
|
).document.select("p.text-success ~ a").apmap {
|
||||||
val link = it.attr("href")
|
val link = it.attr("href")
|
||||||
if (link.contains("workers.dev") || it.text().contains("[Server : 1]")) {
|
if (link.contains("workers.dev") || it.text().contains("[Server : 1]") || link.contains("/dl.php?")) {
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
this.name,
|
this.name,
|
||||||
|
|
|
@ -1111,30 +1111,15 @@ object SoraExtractor : SoraStream() {
|
||||||
).document.selectFirst("div.entry-content > $selector")
|
).document.selectFirst("div.entry-content > $selector")
|
||||||
?.attr("href") ?: return
|
?.attr("href") ?: return
|
||||||
|
|
||||||
val quality = getIndexQuality(entry.text())
|
|
||||||
|
|
||||||
if(server.contains("/dl.php?")) {
|
|
||||||
callback.invoke(
|
|
||||||
ExtractorLink(
|
|
||||||
"Vegamovies",
|
|
||||||
"Vegamovies",
|
|
||||||
server,
|
|
||||||
"",
|
|
||||||
quality,
|
|
||||||
INFER_TYPE
|
|
||||||
)
|
|
||||||
)
|
|
||||||
} else {
|
|
||||||
loadCustomTagExtractor(
|
loadCustomTagExtractor(
|
||||||
tags,
|
tags,
|
||||||
server,
|
server,
|
||||||
"$api/",
|
"$api/",
|
||||||
subtitleCallback,
|
subtitleCallback,
|
||||||
callback,
|
callback,
|
||||||
quality
|
getIndexQuality(entry.text())
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
suspend fun invokeHdmovies4u(
|
suspend fun invokeHdmovies4u(
|
||||||
title: String? = null,
|
title: String? = null,
|
||||||
|
|
Loading…
Reference in a new issue