Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.lagradost.cloudstream3.extractors

import com.lagradost.cloudstream3.Prerelease
import com.lagradost.cloudstream3.SubtitleFile
import com.lagradost.cloudstream3.app
import com.lagradost.cloudstream3.utils.ExtractorApi
import com.lagradost.cloudstream3.utils.ExtractorLink
import com.lagradost.cloudstream3.utils.newExtractorLink

@Prerelease
open class HubuCloud: ExtractorApi() {
override val name: String = "Hubu"
override val mainUrl: String = "https://hubu.cloud"
override val requiresReferer: Boolean = false

override suspend fun getUrl(
url: String,
referer: String?,
subtitleCallback: (SubtitleFile) -> Unit,
callback: (ExtractorLink) -> Unit
) {
val doc = app.get(url).document

val streamUrl = doc.select("source").attr("src")
callback.invoke(newExtractorLink(source = name, name = name, url = streamUrl))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ import com.lagradost.cloudstream3.extractors.Hotlinger
import com.lagradost.cloudstream3.extractors.HubCloud
import com.lagradost.cloudstream3.extractors.Hxfile
import com.lagradost.cloudstream3.extractors.HlsWish
import com.lagradost.cloudstream3.extractors.HubuCloud
import com.lagradost.cloudstream3.extractors.InternetArchive
import com.lagradost.cloudstream3.extractors.JWPlayer
import com.lagradost.cloudstream3.extractors.Jeniusplay
Expand Down Expand Up @@ -1148,6 +1149,7 @@ val extractorApis: AtomicMutableList<ExtractorApi> = atomicListOf(
Vicloud(),
Uservideo(),
Userscloud(),
HubuCloud(),

Movhide(),
StreamhideCom(),
Expand Down