diff --git a/AnitubeinuaProvider/src/main/kotlin/com/lagradost/AnitubeinuaProvider.kt b/AnitubeinuaProvider/src/main/kotlin/com/lagradost/AnitubeinuaProvider.kt index b6d0f2c..5c04d7e 100644 --- a/AnitubeinuaProvider/src/main/kotlin/com/lagradost/AnitubeinuaProvider.kt +++ b/AnitubeinuaProvider/src/main/kotlin/com/lagradost/AnitubeinuaProvider.kt @@ -299,18 +299,19 @@ class AnitubeinuaProvider : MainAPI() { ) } contains("https://csst.online/embed/") -> { - 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("]"), - "", - 0, - isM3u8 = false + 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])} ${it.substringBefore("]").drop(1)}", + it.substringAfter("]"), + "", + 0, + isM3u8 = false + ) ) - ) - + } } else -> {} } diff --git a/AnitubeinuaProvider/src/main/kotlin/com/lagradost/extractors/csstExtractor.kt b/AnitubeinuaProvider/src/main/kotlin/com/lagradost/extractors/csstExtractor.kt index 03957b8..fa9461e 100644 --- a/AnitubeinuaProvider/src/main/kotlin/com/lagradost/extractors/csstExtractor.kt +++ b/AnitubeinuaProvider/src/main/kotlin/com/lagradost/extractors/csstExtractor.kt @@ -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 }