mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Extractor: import fix
This commit is contained in:
parent
3dccd84929
commit
606596dee8
2 changed files with 17 additions and 34 deletions
|
@ -1,30 +0,0 @@
|
|||
package com.lagradost.cloudstream3.extractors
|
||||
|
||||
import com.lagradost.cloudstream3.SubtitleFile
|
||||
import com.lagradost.cloudstream3.utils.ExtractorApi
|
||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
import com.lagradost.cloudstream3.utils.Qualities
|
||||
|
||||
open class Pixeldrain : ExtractorApi() {
|
||||
override val name = "Pixeldrain"
|
||||
override val mainUrl = "https://pixeldrain.com"
|
||||
override val requiresReferer = false
|
||||
override suspend fun getUrl(
|
||||
url: String,
|
||||
referer: String?,
|
||||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
) {
|
||||
val mId = Regex("/([ul]/[\\da-zA-Z\\-]+)").find(url)?.groupValues?.get(1)?.split("/")
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
this.name,
|
||||
this.name,
|
||||
"$mainUrl/api/file/${mId?.last() ?: return}?download",
|
||||
url,
|
||||
Qualities.Unknown.value,
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
}
|
|
@ -98,10 +98,24 @@ import com.lagradost.cloudstream3.extractors.Mvidoo
|
|||
import com.lagradost.cloudstream3.extractors.MwvnVizcloudInfo
|
||||
import com.lagradost.cloudstream3.extractors.Neonime7n
|
||||
import com.lagradost.cloudstream3.extractors.Neonime8n
|
||||
import com.lagradost.cloudstream3.extractors.OkRu
|
||||
import com.lagradost.cloudstream3.extractors.OkRuHttps
|
||||
import com.lagradost.cloudstream3.extractors.Odnoklassniki
|
||||
import com.lagradost.cloudstream3.extractors.TauVideo
|
||||
import com.lagradost.cloudstream3.extractors.SibNet
|
||||
import com.lagradost.cloudstream3.extractors.ContentX
|
||||
import com.lagradost.cloudstream3.extractors.Hotlinger
|
||||
import com.lagradost.cloudstream3.extractors.HDMomPlayer
|
||||
import com.lagradost.cloudstream3.extractors.HDPlayerSystem
|
||||
import com.lagradost.cloudstream3.extractors.VideoSeyred
|
||||
import com.lagradost.cloudstream3.extractors.PeaceMakerst
|
||||
import com.lagradost.cloudstream3.extractors.HDStreamAble
|
||||
import com.lagradost.cloudstream3.extractors.RapidVid
|
||||
import com.lagradost.cloudstream3.extractors.TRsTX
|
||||
import com.lagradost.cloudstream3.extractors.VidMoxy
|
||||
import com.lagradost.cloudstream3.extractors.PixelDrain
|
||||
import com.lagradost.cloudstream3.extractors.MailRu
|
||||
import com.lagradost.cloudstream3.extractors.OkRuSSL
|
||||
import com.lagradost.cloudstream3.extractors.OkRuHTTP
|
||||
import com.lagradost.cloudstream3.extractors.Okrulink
|
||||
import com.lagradost.cloudstream3.extractors.Pixeldrain
|
||||
import com.lagradost.cloudstream3.extractors.PlayLtXyz
|
||||
import com.lagradost.cloudstream3.extractors.PlayerVoxzer
|
||||
import com.lagradost.cloudstream3.extractors.Rabbitstream
|
||||
|
@ -762,7 +776,6 @@ val extractorApis: MutableList<ExtractorApi> = arrayListOf(
|
|||
Movhide(),
|
||||
StreamhideCom(),
|
||||
StreamhideTo(),
|
||||
Pixeldrain(),
|
||||
Wibufile(),
|
||||
FileMoonIn(),
|
||||
Moviesm4u(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue