[Sora] fixed Jeniusplay

This commit is contained in:
hexated 2022-12-06 05:13:58 +07:00
parent 25442bcaa1
commit 8c7e94ce20
2 changed files with 4 additions and 3 deletions

View file

@ -472,6 +472,7 @@ object SoraExtractor : SoraStream() {
val res = app.get(url)
if (!res.isSuccessful) return
val referer = getBaseUrl(res.url)
val document = res.document
val id = document.select("meta#dooplay-ajax-counter").attr("data-postid")
val type = if (url.contains("/movie/")) "movie" else "tv"
@ -480,7 +481,7 @@ object SoraExtractor : SoraStream() {
it.attr("data-nume")
}.apmap { nume ->
val source = app.post(
url = "$idlixAPI/wp-admin/admin-ajax.php",
url = "$referer/wp-admin/admin-ajax.php",
data = mapOf(
"action" to "doo_player_ajax",
"post" to id,
@ -492,7 +493,7 @@ object SoraExtractor : SoraStream() {
).parsed<ResponseHash>().embed_url
if (!source.contains("youtube")) {
loadExtractor(source, "$idlixAPI/", subtitleCallback, callback)
loadExtractor(source, "$referer/", subtitleCallback, callback)
}
}
}

View file

@ -61,7 +61,7 @@ open class SoraStream : TmdbProvider() {
const val databaseGdriveAPI = "https://databasegdriveplayer.co"
const val hdMovieBoxAPI = "https://hdmoviebox.net"
const val series9API = "https://series9.la"
const val idlixAPI = "https://88.210.3.94"
const val idlixAPI = "https://88.210.12.206"
const val noverseAPI = "https://www.nollyverse.com"
const val olgplyAPI = "https://olgply.xyz"
const val uniqueStreamAPI = "https://uniquestream.net"