mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update TrailersToProvider.kt
This commit is contained in:
parent
9884a05c8a
commit
48762c27ca
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class TrailersToProvider : MainAPI() {
|
||||||
} else if (url.contains("/episode/")) {
|
} else if (url.contains("/episode/")) {
|
||||||
val response = khttp.get(url)
|
val response = khttp.get(url)
|
||||||
val document = Jsoup.parse(response.text)
|
val document = Jsoup.parse(response.text)
|
||||||
val qSub = document.select("subtitle-content")
|
// val qSub = document.select("subtitle-content")
|
||||||
val subUrl = document.select("subtitle-content")?.attr("data-url") ?: ""
|
val subUrl = document.select("subtitle-content")?.attr("data-url") ?: ""
|
||||||
|
|
||||||
val subData = fixUrl(document.selectFirst("content").attr("data-url") ?: return false)
|
val subData = fixUrl(document.selectFirst("content").attr("data-url") ?: return false)
|
||||||
|
|
Loading…
Reference in a new issue