Fix selecting sources in cast (#752)

This commit is contained in:
self-similarity 2023-11-05 22:33:11 +00:00 committed by GitHub
parent a6786aaf98
commit 11136fe63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
package com.lagradost.cloudstream3.utils
import android.net.Uri
import com.fasterxml.jackson.annotation.JsonIgnore
import com.lagradost.cloudstream3.SubtitleFile
import com.lagradost.cloudstream3.TvType
import com.lagradost.cloudstream3.USER_AGENT
@ -377,7 +378,8 @@ open class ExtractorLink constructor(
) : VideoDownloadManager.IDownloadableMinimum {
val isM3u8 : Boolean get() = type == ExtractorLinkType.M3U8
val isDash : Boolean get() = type == ExtractorLinkType.DASH
@JsonIgnore
fun getAllHeaders() : Map<String, String> {
if (referer.isBlank()) {
return headers
@ -920,4 +922,4 @@ abstract class ExtractorApi {
open fun getExtractorUrl(id: String): String {
return id
}
}
}