Fix Extractor
This commit is contained in:
parent
b6bab4adc8
commit
c51f4eacb3
|
@ -5,13 +5,10 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
|
|||
import com.lagradost.cloudstream3.utils.getQualityFromName
|
||||
|
||||
|
||||
class DoodComExtractor : DoodStreamExtractor() {
|
||||
override var mainUrl = "https://doodstream.com"
|
||||
}
|
||||
|
||||
open class DoodStreamExtractor : ExtractorApi() {
|
||||
override var name = "DoodStream"
|
||||
override var mainUrl = "https://dood.la"
|
||||
override var mainUrl = "https://doodstream.com"
|
||||
override val requiresReferer = false
|
||||
|
||||
override fun getExtractorUrl(id: String): String {
|
||||
|
|
|
@ -7,15 +7,12 @@ import com.lagradost.cloudstream3.utils.ExtractorApi
|
|||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
import com.lagradost.cloudstream3.utils.M3u8Helper
|
||||
|
||||
class Sbspeed : StreamSBPlus() {
|
||||
override var mainUrl = "https://sbspeed.com"
|
||||
}
|
||||
|
||||
// This is a modified version of https://github.com/jmir1/aniyomi-extensions/blob/master/src/en/genoanime/src/eu/kanade/tachiyomi/animeextension/en/genoanime/extractors/StreamSBExtractor.kt
|
||||
// The following code is under the Apache License 2.0 https://github.com/jmir1/aniyomi-extensions/blob/master/LICENSE
|
||||
open class StreamSBPlus : ExtractorApi() {
|
||||
open class StreamSBPlusExtractor : ExtractorApi() {
|
||||
override var name = "StreamSB"
|
||||
override var mainUrl = "https://watchsb.com"
|
||||
override var mainUrl = "https://sbspeed.com"
|
||||
override val requiresReferer = false
|
||||
|
||||
private val hexArray = "0123456789ABCDEF".toCharArray()
|
|
@ -10,8 +10,8 @@ class WiflixPlugin: Plugin() {
|
|||
override fun load(context: Context) {
|
||||
// All providers should be added in this manner. Please don't edit the providers list directly.
|
||||
registerMainAPI(WiflixProvider())
|
||||
registerExtractorAPI(DoodComExtractor())
|
||||
registerExtractorAPI(Sbspeed())
|
||||
registerExtractorAPI(DoodStreamExtractor())
|
||||
registerExtractorAPI(StreamSBPlusExtractor())
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue