mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Aniworld & Oploverz: fix sources
This commit is contained in:
parent
c66b1bdedb
commit
dbab64a82b
6 changed files with 39 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 2
|
||||
version = 3
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.hexated
|
|||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import com.lagradost.cloudstream3.*
|
||||
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
||||
import com.lagradost.cloudstream3.extractors.DoodLaExtractor
|
||||
import com.lagradost.cloudstream3.extractors.Voe
|
||||
import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
|
||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
|
@ -140,7 +141,7 @@ class Aniworld : MainAPI() {
|
|||
it.select("h4").text()
|
||||
)
|
||||
}.filter {
|
||||
it.third == "VOE"
|
||||
it.third != "Vidoza"
|
||||
}.apmap {
|
||||
val redirectUrl = app.get(fixUrl(it.second)).url
|
||||
loadExtractor(redirectUrl, data, subtitleCallback) { link ->
|
||||
|
@ -184,6 +185,14 @@ class Aniworld : MainAPI() {
|
|||
|
||||
}
|
||||
|
||||
class Dooood : DoodLaExtractor() {
|
||||
override var mainUrl = "https://urochsunloath.com"
|
||||
}
|
||||
|
||||
class Simpulumlamerop : Voe() {
|
||||
override var mainUrl = "https://simpulumlamerop.com"
|
||||
}
|
||||
|
||||
class Urochsunloath : Voe() {
|
||||
override var mainUrl = "https://urochsunloath.com"
|
||||
}
|
|
@ -11,5 +11,7 @@ class AniworldPlugin: Plugin() {
|
|||
// All providers should be added in this manner. Please don't edit the providers list directly.
|
||||
registerMainAPI(Aniworld())
|
||||
registerExtractorAPI(Urochsunloath())
|
||||
registerExtractorAPI(Simpulumlamerop())
|
||||
registerExtractorAPI(Dooood())
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue