This commit is contained in:
jack 2023-12-11 21:04:28 +07:00
parent e871756846
commit b5d459ee0b
2 changed files with 9 additions and 24 deletions

View file

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

View file

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