mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
390bfca05b
12 changed files with 227 additions and 51 deletions
|
@ -114,8 +114,11 @@
|
||||||
<data android:scheme="https" android:host="secretlink.xyz" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="secretlink.xyz" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="hdm.to" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="hdm.to" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="theflix.to" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="theflix.to" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="streamingcommunity.org" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="streamingcommunity.best" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="www.tantifilm.rodeo" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="altadefinizione.tienda" android:pathPrefix="/"/>
|
||||||
|
<data android:scheme="https" android:host="cb01.rip" android:pathPrefix="/"/>
|
||||||
|
<data android:scheme="https" android:host="filmpertutti.love" android:pathPrefix="/"/>
|
||||||
|
<data android:scheme="https" android:host="www.tantifilm.nl" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="v2.apimdb.net" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="v2.apimdb.net" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="www.wcostream.com" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="www.wcostream.com" android:pathPrefix="/"/>
|
||||||
<data android:scheme="https" android:host="gogoanime.film" android:pathPrefix="/"/>
|
<data android:scheme="https" android:host="gogoanime.film" android:pathPrefix="/"/>
|
||||||
|
|
|
@ -85,6 +85,7 @@ object APIHolder {
|
||||||
KdramaHoodProvider(),
|
KdramaHoodProvider(),
|
||||||
AkwamProvider(),
|
AkwamProvider(),
|
||||||
MyCimaProvider(),
|
MyCimaProvider(),
|
||||||
|
CimaNowProvider(),
|
||||||
EgyBestProvider(),
|
EgyBestProvider(),
|
||||||
FaselHDProvider(),
|
FaselHDProvider(),
|
||||||
SoaptwoDayProvider(),
|
SoaptwoDayProvider(),
|
||||||
|
|
|
@ -10,7 +10,7 @@ import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
|
||||||
|
|
||||||
class AltadefinizioneProvider : MainAPI() {
|
class AltadefinizioneProvider : MainAPI() {
|
||||||
override var lang = "it"
|
override var lang = "it"
|
||||||
override var mainUrl = "https://altadefinizione.hair"
|
override var mainUrl = "https://altadefinizione.tienda"
|
||||||
override var name = "Altadefinizione"
|
override var name = "Altadefinizione"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val hasChromecastSupport = true
|
override val hasChromecastSupport = true
|
||||||
|
|
|
@ -0,0 +1,163 @@
|
||||||
|
package com.lagradost.cloudstream3.movieproviders
|
||||||
|
|
||||||
|
import com.lagradost.cloudstream3.*
|
||||||
|
import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
|
||||||
|
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
|
import com.lagradost.cloudstream3.utils.Qualities
|
||||||
|
import org.jsoup.nodes.Element
|
||||||
|
|
||||||
|
class CimaNowProvider : MainAPI() {
|
||||||
|
override var lang = "ar"
|
||||||
|
override var mainUrl = "https://cimanow.cc"
|
||||||
|
override var name = "CimaNow"
|
||||||
|
override val usesWebView = false
|
||||||
|
override val hasMainPage = true
|
||||||
|
override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie)
|
||||||
|
|
||||||
|
private fun String.getIntFromText(): Int? {
|
||||||
|
return Regex("""\d+""").find(this)?.groupValues?.firstOrNull()?.toIntOrNull()
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun Element.toSearchResponse(): SearchResponse? {
|
||||||
|
val url = this.attr("href")
|
||||||
|
val posterUrl = select("img")?.attr("data-src")
|
||||||
|
var title = select("li[aria-label=\"title\"]").html().replace(" <em>.*|\\\\n".toRegex(), "").replace(" ", "")
|
||||||
|
val year = select("li[aria-label=\"year\"]").text().toIntOrNull()
|
||||||
|
val tvType = if (url.contains("فيلم|مسرحية|حفلات".toRegex())) TvType.Movie else TvType.TvSeries
|
||||||
|
val quality = select("li[aria-label=\"ribbon\"]").first()?.text()?.replace(" |-|1080|720".toRegex(), "")
|
||||||
|
val dubEl = select("li[aria-label=\"ribbon\"]:nth-child(2)").isNotEmpty()
|
||||||
|
val dubStatus = if(dubEl) select("li[aria-label=\"ribbon\"]:nth-child(2)").text().contains("مدبلج")
|
||||||
|
else select("li[aria-label=\"ribbon\"]:nth-child(1)").text().contains("مدبلج")
|
||||||
|
if(dubStatus) title = "$title (مدبلج)"
|
||||||
|
return MovieSearchResponse(
|
||||||
|
"$title ${select("li[aria-label=\"ribbon\"]:contains(الموسم)").text()}",
|
||||||
|
url,
|
||||||
|
this@CimaNowProvider.name,
|
||||||
|
tvType,
|
||||||
|
posterUrl,
|
||||||
|
year,
|
||||||
|
null,
|
||||||
|
quality = getQualityFromString(quality)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
override suspend fun getMainPage(): HomePageResponse {
|
||||||
|
|
||||||
|
val doc = app.get("$mainUrl/home", headers = mapOf("user-agent" to "MONKE")).document
|
||||||
|
val pages = doc.select("section").not("section:contains(أختر وجهتك المفضلة)").not("section:contains(تم اضافته حديثاً)").apmap {
|
||||||
|
val name = it.select("span").html().replace("<em>.*| <i c.*".toRegex(), "")
|
||||||
|
val list = it.select("a").mapNotNull {
|
||||||
|
if(it.attr("href").contains("$mainUrl/category/|$mainUrl/الاكثر-مشاهدة/".toRegex())) return@mapNotNull null
|
||||||
|
it.toSearchResponse()
|
||||||
|
}
|
||||||
|
HomePageList(name, list)
|
||||||
|
}
|
||||||
|
return HomePageResponse(pages)
|
||||||
|
}
|
||||||
|
|
||||||
|
override suspend fun search(query: String): List<SearchResponse> {
|
||||||
|
val result = arrayListOf<SearchResponse>()
|
||||||
|
val doc = app.get("$mainUrl/page/1/?s=$query").document
|
||||||
|
val paginationElement = doc.select("ul[aria-label=\"pagination\"]")
|
||||||
|
doc.select("section article a").map {
|
||||||
|
val postUrl = it.attr("href")
|
||||||
|
if(it.select("li[aria-label=\"episode\"]").isNotEmpty()) return@map
|
||||||
|
if(postUrl.contains("$mainUrl/expired-download/|$mainUrl/افلام-اون-لاين/".toRegex())) return@map
|
||||||
|
result.add(it.toSearchResponse()!!)
|
||||||
|
}
|
||||||
|
if(paginationElement.isNotEmpty()) {
|
||||||
|
val max = paginationElement.select("li").not("li.active").last()?.text()?.toIntOrNull()
|
||||||
|
if (max != null) {
|
||||||
|
if(max > 5) return result.distinct().sortedBy { it.name }
|
||||||
|
(2..max!!).toList().apmap {
|
||||||
|
app.get("$mainUrl/page/$it/?s=$query\"").document.select("section article a").map { element ->
|
||||||
|
val postUrl = element.attr("href")
|
||||||
|
if(element.select("li[aria-label=\"episode\"]").isNotEmpty()) return@map
|
||||||
|
if(postUrl.contains("$mainUrl/expired-download/|$mainUrl/افلام-اون-لاين/".toRegex())) return@map
|
||||||
|
result.add(element.toSearchResponse()!!)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.distinct().sortedBy { it.name }
|
||||||
|
}
|
||||||
|
|
||||||
|
override suspend fun load(url: String): LoadResponse {
|
||||||
|
val doc = app.get(url).document
|
||||||
|
val posterUrl = doc.select("body > script:nth-child(3)").html().replace(".*,\"image\":\"|\".*".toRegex(),"").ifEmpty { doc.select("meta[property=\"og:image\"]").attr("content") }
|
||||||
|
val year = doc.select("article ul:nth-child(1) li a").last()?.text()?.toIntOrNull()
|
||||||
|
val title = doc.select("title").text().split(" | ")[0]
|
||||||
|
val isMovie = title.contains("فيلم|حفلات|مسرحية".toRegex())
|
||||||
|
val youtubeTrailer = doc.select("iframe")?.attr("src")
|
||||||
|
|
||||||
|
val synopsis = doc.select("ul#details li:contains(لمحة) p").text()
|
||||||
|
|
||||||
|
val tags = doc.select("article ul").first()?.select("li")?.map { it.text() }
|
||||||
|
|
||||||
|
val recommendations = doc.select("ul#related li").map { element ->
|
||||||
|
MovieSearchResponse(
|
||||||
|
apiName = this@CimaNowProvider.name,
|
||||||
|
url = element.select("a").attr("href"),
|
||||||
|
name = element.select("img:nth-child(2)").attr("alt"),
|
||||||
|
posterUrl = element.select("img:nth-child(2)").attr("src")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
return if (isMovie) {
|
||||||
|
newMovieLoadResponse(
|
||||||
|
title,
|
||||||
|
url,
|
||||||
|
TvType.Movie,
|
||||||
|
"$url/watching"
|
||||||
|
) {
|
||||||
|
this.posterUrl = posterUrl
|
||||||
|
this.year = year
|
||||||
|
this.recommendations = recommendations
|
||||||
|
this.plot = synopsis
|
||||||
|
this.tags = tags
|
||||||
|
addTrailer(youtubeTrailer)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
val episodes = doc.select("ul#eps li").map { episode ->
|
||||||
|
Episode(
|
||||||
|
episode.select("a").attr("href")+"/watching",
|
||||||
|
episode.select("a img:nth-child(2)").attr("alt"),
|
||||||
|
doc.select("span[aria-label=\"season-title\"]").html().replace("<p>.*|\n".toRegex(), "").getIntFromText(),
|
||||||
|
episode.select("a em").text().toIntOrNull(),
|
||||||
|
episode.select("a img:nth-child(2)").attr("src")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes.distinct().sortedBy { it.episode }) {
|
||||||
|
this.posterUrl = posterUrl
|
||||||
|
this.tags = tags
|
||||||
|
this.year = year
|
||||||
|
this.plot = synopsis
|
||||||
|
this.recommendations = recommendations
|
||||||
|
addTrailer(youtubeTrailer)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override suspend fun loadLinks(
|
||||||
|
data: String,
|
||||||
|
isCasting: Boolean,
|
||||||
|
subtitleCallback: (SubtitleFile) -> Unit,
|
||||||
|
callback: (ExtractorLink) -> Unit
|
||||||
|
): Boolean {
|
||||||
|
app.get("$data").document.select("ul#download [aria-label=\"quality\"]").forEach {
|
||||||
|
val name = if(it.select("span").text().contains("فائق السرعة")) "Fast Servers" else "Servers"
|
||||||
|
it.select("a").forEach { media ->
|
||||||
|
callback.invoke(
|
||||||
|
ExtractorLink(
|
||||||
|
source = this.name,
|
||||||
|
name = name,
|
||||||
|
url = media.attr("href"),
|
||||||
|
referer = this.mainUrl,
|
||||||
|
quality = media.text().getIntFromText() ?: Qualities.Unknown.value
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
||||||
import com.lagradost.cloudstream3.*
|
import com.lagradost.cloudstream3.*
|
||||||
import com.lagradost.cloudstream3.utils.AppUtils.parseJson
|
import com.lagradost.cloudstream3.utils.AppUtils.parseJson
|
||||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
|
import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
|
||||||
import org.jsoup.nodes.Element
|
import org.jsoup.nodes.Element
|
||||||
|
|
||||||
class EgyBestProvider : MainAPI() {
|
class EgyBestProvider : MainAPI() {
|
||||||
|
@ -78,7 +79,8 @@ class EgyBestProvider : MainAPI() {
|
||||||
val posterUrl = doc.select("div.movie_img a img")?.attr("src")
|
val posterUrl = doc.select("div.movie_img a img")?.attr("src")
|
||||||
val year = doc.select("div.movie_title h1 a")?.text()?.toIntOrNull()
|
val year = doc.select("div.movie_title h1 a")?.text()?.toIntOrNull()
|
||||||
val title = doc.select("div.movie_title h1 span").text()
|
val title = doc.select("div.movie_title h1 span").text()
|
||||||
|
val youtubeTrailer = doc.select("div.play")?.attr("url")
|
||||||
|
|
||||||
val synopsis = doc.select("div.mbox").firstOrNull {
|
val synopsis = doc.select("div.mbox").firstOrNull {
|
||||||
it.text().contains("القصة")
|
it.text().contains("القصة")
|
||||||
}?.text()?.replace("القصة ", "")
|
}?.text()?.replace("القصة ", "")
|
||||||
|
@ -112,6 +114,7 @@ class EgyBestProvider : MainAPI() {
|
||||||
this.plot = synopsis
|
this.plot = synopsis
|
||||||
this.tags = tags
|
this.tags = tags
|
||||||
this.actors = actors
|
this.actors = actors
|
||||||
|
addTrailer(youtubeTrailer)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
val episodes = ArrayList<Episode>()
|
val episodes = ArrayList<Episode>()
|
||||||
|
@ -153,6 +156,7 @@ class EgyBestProvider : MainAPI() {
|
||||||
this.year = year
|
this.year = year
|
||||||
this.plot = synopsis
|
this.plot = synopsis
|
||||||
this.actors = actors
|
this.actors = actors
|
||||||
|
addTrailer(youtubeTrailer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,9 +18,8 @@ class FilmanProvider : MainAPI() {
|
||||||
)
|
)
|
||||||
|
|
||||||
override suspend fun getMainPage(): HomePageResponse {
|
override suspend fun getMainPage(): HomePageResponse {
|
||||||
val response = app.get(mainUrl).text
|
val document = app.get(mainUrl).document
|
||||||
val document = Jsoup.parse(response)
|
val lists = document.select("div#item-list")
|
||||||
val lists = document.select(".item-list,.series-list")
|
|
||||||
val categories = ArrayList<HomePageList>()
|
val categories = ArrayList<HomePageList>()
|
||||||
for (l in lists) {
|
for (l in lists) {
|
||||||
val title = l.parent()!!.select("h3").text()
|
val title = l.parent()!!.select("h3").text()
|
||||||
|
@ -53,17 +52,16 @@ class FilmanProvider : MainAPI() {
|
||||||
|
|
||||||
override suspend fun search(query: String): List<SearchResponse> {
|
override suspend fun search(query: String): List<SearchResponse> {
|
||||||
val url = "$mainUrl/wyszukiwarka?phrase=$query"
|
val url = "$mainUrl/wyszukiwarka?phrase=$query"
|
||||||
val response = app.get(url).text
|
val document = app.get(url).document
|
||||||
val document = Jsoup.parse(response)
|
val lists = document.select("div#item-list")
|
||||||
val lists = document.select("#advanced-search > div")
|
val movies = lists[0].select(".poster > a")
|
||||||
val movies = lists[1].select(".item")
|
val series = lists[1].select(".poster > a")
|
||||||
val series = lists[3].select(".item")
|
|
||||||
if (movies.isEmpty() && series.isEmpty()) return ArrayList()
|
if (movies.isEmpty() && series.isEmpty()) return ArrayList()
|
||||||
fun getVideos(type: TvType, items: Elements): List<SearchResponse> {
|
fun getVideos(type: TvType, items: Elements): List<SearchResponse> {
|
||||||
return items.map { i ->
|
return items.map { i ->
|
||||||
val href = i.attr("href")
|
val href = i.attr("href")
|
||||||
val img = i.selectFirst("> img")!!.attr("src").replace("/thumb/", "/big/")
|
val img = i.selectFirst("> img")!!.attr("src").replace("/thumb/", "/big/")
|
||||||
val name = i.selectFirst(".title")!!.text()
|
val name = i.attr("title")
|
||||||
if (type === TvType.TvSeries) {
|
if (type === TvType.TvSeries) {
|
||||||
TvSeriesSearchResponse(
|
TvSeriesSearchResponse(
|
||||||
name,
|
name,
|
||||||
|
@ -83,8 +81,7 @@ class FilmanProvider : MainAPI() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun load(url: String): LoadResponse {
|
override suspend fun load(url: String): LoadResponse {
|
||||||
val response = app.get(url).text
|
val document = app.get(url).document
|
||||||
val document = Jsoup.parse(response)
|
|
||||||
val documentTitle = document.select("title").text().trim()
|
val documentTitle = document.select("title").text().trim()
|
||||||
|
|
||||||
if (documentTitle.startsWith("Logowanie")) {
|
if (documentTitle.startsWith("Logowanie")) {
|
||||||
|
|
|
@ -14,7 +14,7 @@ import org.jsoup.nodes.Element
|
||||||
|
|
||||||
class FilmpertuttiProvider : MainAPI() {
|
class FilmpertuttiProvider : MainAPI() {
|
||||||
override var lang = "it"
|
override var lang = "it"
|
||||||
override var mainUrl = "https://www.filmpertutti.love"
|
override var mainUrl = "https://filmpertutti.love"
|
||||||
override var name = "Filmpertutti"
|
override var name = "Filmpertutti"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val hasChromecastSupport = true
|
override val hasChromecastSupport = true
|
||||||
|
|
|
@ -10,7 +10,7 @@ import org.jsoup.nodes.Element
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class LayarKacaProvider : MainAPI() {
|
class LayarKacaProvider : MainAPI() {
|
||||||
override var mainUrl = "https://149.56.24.226"
|
override var mainUrl = "https://lk21.xn--6frz82g"
|
||||||
override var name = "LayarKaca"
|
override var name = "LayarKaca"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override var lang = "id"
|
override var lang = "id"
|
||||||
|
@ -214,7 +214,12 @@ class LayarKacaProvider : MainAPI() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sources.apmap {
|
sources.apmap {
|
||||||
loadExtractor(it, data, callback)
|
val link = if(it.startsWith("https://layarkacaxxi.icu")) {
|
||||||
|
it.substringBeforeLast("/")
|
||||||
|
} else {
|
||||||
|
it
|
||||||
|
}
|
||||||
|
loadExtractor(link, data, callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
|
@ -51,7 +51,7 @@ data class Image(
|
||||||
@JsonProperty("proxy_id") val proxyID: Long,
|
@JsonProperty("proxy_id") val proxyID: Long,
|
||||||
@JsonProperty("url") val url: String,
|
@JsonProperty("url") val url: String,
|
||||||
@JsonProperty("type") val type: String,
|
@JsonProperty("type") val type: String,
|
||||||
@JsonProperty("sc_url") val scURL: String,
|
// @JsonProperty("sc_url") val scURL: String,
|
||||||
// @JsonProperty("proxy") val proxy: Proxy,
|
// @JsonProperty("proxy") val proxy: Proxy,
|
||||||
// @JsonProperty("server") val server: Proxy
|
// @JsonProperty("server") val server: Proxy
|
||||||
)
|
)
|
||||||
|
@ -128,7 +128,7 @@ data class TrailerElement(
|
||||||
|
|
||||||
class StreamingcommunityProvider : MainAPI() {
|
class StreamingcommunityProvider : MainAPI() {
|
||||||
override var lang = "it"
|
override var lang = "it"
|
||||||
override var mainUrl = "https://streamingcommunity.org"
|
override var mainUrl = "https://streamingcommunity.best"
|
||||||
override var name = "Streamingcommunity"
|
override var name = "Streamingcommunity"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val hasChromecastSupport = true
|
override val hasChromecastSupport = true
|
||||||
|
|
|
@ -9,7 +9,7 @@ import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
|
||||||
|
|
||||||
class TantifilmProvider : MainAPI() {
|
class TantifilmProvider : MainAPI() {
|
||||||
override var lang = "it"
|
override var lang = "it"
|
||||||
override var mainUrl = "https://www.tantifilm.pics"
|
override var mainUrl = "https://www.tantifilm.nl"
|
||||||
override var name = "Tantifilm"
|
override var name = "Tantifilm"
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val hasChromecastSupport = true
|
override val hasChromecastSupport = true
|
||||||
|
|
|
@ -231,30 +231,27 @@ class XcineProvider : MainAPI() {
|
||||||
cookies = parsed.cookies + cookies,
|
cookies = parsed.cookies + cookies,
|
||||||
).text
|
).text
|
||||||
|
|
||||||
val jsonRegex = Regex("""(vip_|)source.*?(\[.*);""")
|
val urlRegex = Regex("""file['"].*?['"]([^'"]*)""")
|
||||||
val json = jsonRegex.findAll(response)
|
val link = urlRegex.find(response)?.groupValues!![1]
|
||||||
|
|
||||||
val files = json.mapNotNull {
|
// files.forEach { (isVip, list) ->
|
||||||
(it.groupValues.getOrNull(1) == "vip_") to (
|
// list.forEach file@{ file ->
|
||||||
tryParseJson<List<File>>(it.groupValues.getOrNull(2)) ?: return@mapNotNull null)
|
// if (file.file == null) return@file
|
||||||
}
|
callback.invoke(
|
||||||
|
ExtractorLink(
|
||||||
|
this.name,
|
||||||
|
this.name,
|
||||||
|
link.replace("\\", ""),
|
||||||
|
this.mainUrl,
|
||||||
|
// file.label?.getIntFromText() ?:
|
||||||
|
Qualities.Unknown.value,
|
||||||
|
true
|
||||||
|
// file.type?.contains("hls", ignoreCase = true) == true,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
files.forEach { (isVip, list) ->
|
return true // files.sumOf { it.second.size } > 0
|
||||||
list.forEach file@{ file ->
|
|
||||||
if (file.file == null) return@file
|
|
||||||
callback.invoke(
|
|
||||||
ExtractorLink(
|
|
||||||
this.name,
|
|
||||||
this.name + if (isVip) " VIP" else "",
|
|
||||||
file.file.replace("\\", ""),
|
|
||||||
this.mainUrl,
|
|
||||||
file.label?.getIntFromText() ?: Qualities.Unknown.value,
|
|
||||||
file.type?.contains("hls", ignoreCase = true) == true,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return files.sumOf { it.second.size } > 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"language": "it",
|
"language": "it",
|
||||||
"name": "Altadefinizione",
|
"name": "Altadefinizione",
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"url": "https://altadefinizione.hair"
|
"url": "https://altadefinizione.tienda"
|
||||||
},
|
},
|
||||||
"AniflixProvider": {
|
"AniflixProvider": {
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
@ -100,10 +100,16 @@
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"url": "https://bflix.ru"
|
"url": "https://bflix.ru"
|
||||||
},
|
},
|
||||||
|
"CimaNowProvider": {
|
||||||
|
"language": "ar",
|
||||||
|
"name": "CimaNow",
|
||||||
|
"status": 1,
|
||||||
|
"url": "https://cimanow.cc"
|
||||||
|
},
|
||||||
"CineblogProvider": {
|
"CineblogProvider": {
|
||||||
"language": "it",
|
"language": "it",
|
||||||
"name": "CineBlog",
|
"name": "CineBlog",
|
||||||
"status": 0,
|
"status": 1,
|
||||||
"url": "https://cb01.rip"
|
"url": "https://cb01.rip"
|
||||||
},
|
},
|
||||||
"CinecalidadProvider": {
|
"CinecalidadProvider": {
|
||||||
|
@ -197,8 +203,8 @@
|
||||||
"FilmpertuttiProvider": {
|
"FilmpertuttiProvider": {
|
||||||
"language": "it",
|
"language": "it",
|
||||||
"name": "Filmpertutti",
|
"name": "Filmpertutti",
|
||||||
"status": 0,
|
"status": 1,
|
||||||
"url": "https://www.filmpertutti.love"
|
"url": "https://filmpertutti.love"
|
||||||
},
|
},
|
||||||
"FmoviesToProvider": {
|
"FmoviesToProvider": {
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
@ -239,7 +245,7 @@
|
||||||
"HDrezkaProvider": {
|
"HDrezkaProvider": {
|
||||||
"language": "ru",
|
"language": "ru",
|
||||||
"name": "HDrezka",
|
"name": "HDrezka",
|
||||||
"status": 1,
|
"status": 0,
|
||||||
"url": "https://rezka.ag"
|
"url": "https://rezka.ag"
|
||||||
},
|
},
|
||||||
"IHaveNoTvProvider": {
|
"IHaveNoTvProvider": {
|
||||||
|
@ -472,13 +478,13 @@
|
||||||
"language": "it",
|
"language": "it",
|
||||||
"name": "Streamingcommunity",
|
"name": "Streamingcommunity",
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"url": "https://streamingcommunity.org"
|
"url": "https://streamingcommunity.best"
|
||||||
},
|
},
|
||||||
"TantifilmProvider": {
|
"TantifilmProvider": {
|
||||||
"language": "it",
|
"language": "it",
|
||||||
"name": "Tantifilm",
|
"name": "Tantifilm",
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"url": "https://www.tantifilm.pics"
|
"url": "https://www.tantifilm.nl"
|
||||||
},
|
},
|
||||||
"TenshiProvider": {
|
"TenshiProvider": {
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
|
Loading…
Reference in a new issue