mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed TimefourTv
This commit is contained in:
parent
cffce41393
commit
8a54373ccf
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 10
|
version = 11
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -164,11 +164,12 @@ open class TimefourTv : MainAPI() {
|
||||||
}
|
}
|
||||||
} ?: throw ErrorLoadingException()
|
} ?: throw ErrorLoadingException()
|
||||||
getLink(fixUrl(link))?.let { m3uLink ->
|
getLink(fixUrl(link))?.let { m3uLink ->
|
||||||
|
val url = app.get(m3uLink, referer = "$mainServer/")
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
this.name,
|
this.name,
|
||||||
this.name,
|
this.name,
|
||||||
m3uLink,
|
url.url,
|
||||||
referer = "$mainServer/",
|
referer = "$mainServer/",
|
||||||
quality = Qualities.Unknown.value,
|
quality = Qualities.Unknown.value,
|
||||||
isM3u8 = true,
|
isM3u8 = true,
|
||||||
|
|
Loading…
Reference in a new issue