mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix AnimeIndo,Gomov,Oppadrama
This commit is contained in:
parent
b2227f51fe
commit
3b1d788587
8 changed files with 14 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 11
|
version = 12
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -48,7 +48,7 @@ class AnimeIndoProvider : MainAPI() {
|
||||||
page: Int,
|
page: Int,
|
||||||
request: MainPageRequest
|
request: MainPageRequest
|
||||||
): HomePageResponse {
|
): HomePageResponse {
|
||||||
val url = "$mainUrl/pages/${request.data}/page/$page"
|
val url = "$mainUrl/${request.data}/page/$page"
|
||||||
val document = app.get(url).document
|
val document = app.get(url).document
|
||||||
val home = document.select("main#main div.animposx").mapNotNull {
|
val home = document.select("main#main div.animposx").mapNotNull {
|
||||||
it.toSearchResult()
|
it.toSearchResult()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 8
|
version = 9
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -3,7 +3,6 @@ package com.hexated
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty
|
import com.fasterxml.jackson.annotation.JsonProperty
|
||||||
import com.lagradost.cloudstream3.*
|
import com.lagradost.cloudstream3.*
|
||||||
import com.lagradost.cloudstream3.extractors.XStreamCdn
|
import com.lagradost.cloudstream3.extractors.XStreamCdn
|
||||||
import com.lagradost.cloudstream3.utils.AppUtils
|
|
||||||
import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
|
import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
|
||||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
import com.lagradost.cloudstream3.utils.getQualityFromName
|
import com.lagradost.cloudstream3.utils.getQualityFromName
|
||||||
|
@ -197,7 +196,7 @@ open class DramaidProvider : MainAPI() {
|
||||||
callback
|
callback
|
||||||
)
|
)
|
||||||
|
|
||||||
else -> loadExtractor(it, data, subtitleCallback, callback)
|
else -> loadExtractor(it, "$mainUrl/", subtitleCallback, callback)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 7
|
version = 8
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -9,11 +9,16 @@ class Dutamovie21 : StreamSB() {
|
||||||
override var mainUrl = "https://dutamovie21.xyz"
|
override var mainUrl = "https://dutamovie21.xyz"
|
||||||
}
|
}
|
||||||
|
|
||||||
class Filelions : Filesim() {
|
class FilelionsTo : Filesim() {
|
||||||
override val name = "Filelions"
|
override val name = "Filelions"
|
||||||
override var mainUrl = "https://filelions.to"
|
override var mainUrl = "https://filelions.to"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Lylxan : Filesim() {
|
||||||
|
override val name = "Lylxan"
|
||||||
|
override var mainUrl = "https://lylxan.com"
|
||||||
|
}
|
||||||
|
|
||||||
class Embedwish : Filesim() {
|
class Embedwish : Filesim() {
|
||||||
override val name = "Embedwish"
|
override val name = "Embedwish"
|
||||||
override var mainUrl = "https://embedwish.com"
|
override var mainUrl = "https://embedwish.com"
|
||||||
|
|
|
@ -13,10 +13,11 @@ class GomovPlugin: Plugin() {
|
||||||
registerMainAPI(DutaMovie())
|
registerMainAPI(DutaMovie())
|
||||||
registerMainAPI(Ngefilm())
|
registerMainAPI(Ngefilm())
|
||||||
registerMainAPI(Nodrakorid())
|
registerMainAPI(Nodrakorid())
|
||||||
registerExtractorAPI(Filelions())
|
registerExtractorAPI(FilelionsTo())
|
||||||
registerExtractorAPI(Likessb())
|
registerExtractorAPI(Likessb())
|
||||||
registerExtractorAPI(DbGdriveplayer())
|
registerExtractorAPI(DbGdriveplayer())
|
||||||
registerExtractorAPI(Dutamovie21())
|
registerExtractorAPI(Dutamovie21())
|
||||||
registerExtractorAPI(Embedwish())
|
registerExtractorAPI(Embedwish())
|
||||||
|
registerExtractorAPI(Lylxan())
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -23,5 +23,5 @@ cloudstream {
|
||||||
"Anime",
|
"Anime",
|
||||||
)
|
)
|
||||||
|
|
||||||
iconUrl = "https://www.google.com/s2/favicons?domain=samehadaku.world&sz=%size%"
|
iconUrl = "https://www.google.com/s2/favicons?domain=https://samehadaku.world&sz=%size%"
|
||||||
}
|
}
|
Loading…
Reference in a new issue