ExtractorLinkPlayList

data class ExtractorLinkPlayList(val source: String, val name: String, val playlist: List<PlayListItem>, val referer: String, val quality: Int, val headers: Map<String, String> = mapOf(), val extractorData: String? = null, val type: ExtractorLinkType) : ExtractorLink(source)

If your site has an unorthodox m3u8-like system where there are multiple smaller videos concatenated use this.

Constructors

Link copied to clipboard
constructor(source: String, name: String, playlist: List<PlayListItem>, referer: String, quality: Int, isM3u8: Boolean = false, headers: Map<String, String> = mapOf(), extractorData: String? = null)
constructor(source: String, name: String, playlist: List<PlayListItem>, referer: String, quality: Int, headers: Map<String, String> = mapOf(), extractorData: String? = null, type: ExtractorLinkType)

Properties

Link copied to clipboard
open override val extractorData: String? = null

Used for getExtractorVerifierJob()

Link copied to clipboard
open override val headers: Map<String, String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val quality: Int
Link copied to clipboard
open override val referer: String
Link copied to clipboard
open override val source: String
Link copied to clipboard
open override val type: ExtractorLinkType
Link copied to clipboard
open override val url: String

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getVideoSize(timeoutSeconds: Long = 3): Long?

Get video size in bytes with one head request. Only available for ExtractorLinkType.Video