anitubeinua: add all qual. for csst player

This commit is contained in:
CakesTwix 2023-03-04 09:04:10 +02:00
parent 3a4c8ae994
commit f4961da4f4
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 13 additions and 13 deletions

View file

@ -299,18 +299,19 @@ class AnitubeinuaProvider : MainAPI() {
)
}
contains("https://csst.online/embed/") -> {
csstExtractor().ParseUrl(Jsoup.parse(dub[dataList[0].toInt()].code).select("iframe")
.attr("src")).split(",").forEach{
callback.invoke(
ExtractorLink(
decode(playerNamesArray[index]),
name = decode(playerNamesArray[index]),
csstExtractor().ParseUrl(Jsoup.parse(dub[dataList[0].toInt()].code).select("iframe")
.attr("src")).split(",")[0].substringAfter("]"),
name = "${decode(playerNamesArray[index])} ${it.substringBefore("]").drop(1)}",
it.substringAfter("]"),
"",
0,
isM3u8 = false
)
)
}
}
else -> {}
}

View file

@ -1,6 +1,5 @@
package com.lagradost.extractors
import android.util.Log
import com.lagradost.cloudstream3.app
class csstExtractor {
@ -9,7 +8,7 @@ class csstExtractor {
.substringAfterLast("file:\"")
.substringBefore("\",")
Log.d("load-debug", playerLinks)
// Log.d("load-debug", playerLinks)
return playerLinks
}