Merge branch 'recloudstream:master' into master
This commit is contained in:
commit
4f6d984d6a
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package com.lagradost
|
||||
|
||||
import com.lagradost.cloudstream3.*
|
||||
import com.lagradost.cloudstream3.utils.Coroutines.main
|
||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
import org.jsoup.Jsoup
|
||||
|
@ -78,14 +77,7 @@ class Ask4MovieProvider : MainAPI() {
|
|||
}
|
||||
|
||||
private fun getIframe(html: String): String? {
|
||||
val data = Regex("""<script src="data:text\/javascript;base64,([^"']*)""").findAll(html)
|
||||
.lastOrNull()?.groupValues?.getOrNull(1) ?: return null
|
||||
val decoded = base64Decode(data)
|
||||
val iframeUrlRegex = Regex("""dir['"],['"]([^"']*)""")
|
||||
|
||||
val iframeEncoded = iframeUrlRegex.find(decoded)?.groupValues?.getOrNull(1) ?: return null
|
||||
val iframe = base64Decode(iframeEncoded)
|
||||
return Jsoup.parse(iframe).select("iframe").attr("src")
|
||||
return Jsoup.parse(html).select("iframe").attr("data-src")
|
||||
}
|
||||
|
||||
private suspend fun getEpisodes(iframe: String): List<Episode> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 11
|
||||
version = 12
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -316,7 +316,7 @@ class ZoroProvider : MainAPI() {
|
|||
}
|
||||
|
||||
private suspend fun getKey(): String {
|
||||
return app.get("https://raw.githubusercontent.com/consumet/rapidclown/main/key.txt").text
|
||||
return app.get("https://raw.githubusercontent.com/enimax-anime/key/e6/key.txt").text
|
||||
}
|
||||
|
||||
override suspend fun loadLinks(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 7
|
||||
version = 8
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -252,9 +252,9 @@ class SuperStream : MainAPI() {
|
|||
private val iv = base64Decode("d0VpcGhUbiE=")
|
||||
private val key = base64Decode("MTIzZDZjZWRmNjI2ZHk1NDIzM2FhMXc2")
|
||||
|
||||
private val ip = base64Decode("aHR0cHM6Ly8xNTIuMzIuMTQ5LjE2MA==")
|
||||
private val baseApiUrl = base64Decode("aHR0cHM6Ly9zaG93Ym94LnNoZWd1Lm5ldA==")
|
||||
private val apiUrl =
|
||||
"$ip${base64Decode("L2FwaS9hcGlfY2xpZW50L2luZGV4Lw==")}"
|
||||
"$baseApiUrl${base64Decode("L2FwaS9hcGlfY2xpZW50L2luZGV4Lw==")}"
|
||||
|
||||
// Another url because the first one sucks at searching
|
||||
// This one was revealed to me in a dream
|
||||
|
|
|
@ -16,7 +16,7 @@ cloudstream {
|
|||
* 2: Slow
|
||||
* 3: Beta only
|
||||
* */
|
||||
status = 1 // will be 3 if unspecified
|
||||
status = 0 // will be 3 if unspecified
|
||||
tvTypes = listOf(
|
||||
"AnimeMovie",
|
||||
"Anime",
|
||||
|
@ -25,4 +25,4 @@ cloudstream {
|
|||
)
|
||||
|
||||
iconUrl = "https://www.google.com/s2/favicons?domain=tenshi.moe&sz=%size%"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ class TenshiProvider : MainAPI() {
|
|||
}
|
||||
}
|
||||
|
||||
override var mainUrl = "https://tenshi.moe"
|
||||
override var mainUrl = "https://marin.moe"
|
||||
override var name = "Tenshi.moe"
|
||||
override val hasQuickSearch = false
|
||||
override val hasMainPage = true
|
||||
|
|
Loading…
Reference in New Issue