mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
updated
This commit is contained in:
parent
0155aa2a20
commit
7d482b9509
3 changed files with 1 additions and 22 deletions
|
@ -176,26 +176,6 @@ class LayarKacaProvider : MainAPI() {
|
|||
): Boolean {
|
||||
|
||||
val document = app.get(data).document
|
||||
|
||||
// maybe will need this in future
|
||||
// val sources = if (data.contains("-episode-")) {
|
||||
// document.select("script").mapNotNull { script ->
|
||||
// if (script.data().contains("var data =")) {
|
||||
// val scriptData =
|
||||
// script.toString().substringAfter("var data = '").substringBefore("';")
|
||||
// Jsoup.parse(scriptData).select("li").map {
|
||||
// fixUrl(it.select("a").attr("href"))
|
||||
// }
|
||||
// } else {
|
||||
// null
|
||||
// }
|
||||
// }[0]
|
||||
// } else {
|
||||
// document.select("ul#loadProviders > li").map {
|
||||
// fixUrl(it.select("a").attr("href"))
|
||||
// }
|
||||
// }
|
||||
|
||||
document.select("ul#loadProviders > li").map {
|
||||
fixUrl(it.select("a").attr("href"))
|
||||
}.apmap {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue