update stremiox

This commit is contained in:
jack 2023-12-10 12:27:51 +07:00
parent e008764fd1
commit 4cdfa5802d
4 changed files with 12 additions and 3 deletions

View file

@ -1,11 +1,17 @@
package com.hexated
import com.lagradost.cloudstream3.TvType
import com.lagradost.cloudstream3.mainPageOf
class Animesaga : Movierulzhd() {
override var mainUrl = "https://www.animesaga.in"
override var name = "Animesaga"
override val supportedTypes = setOf(
TvType.Anime,
TvType.AnimeMovie,
TvType.OVA
)
override val mainPage = mainPageOf(
"movies" to "Movies",

View file

@ -2211,7 +2211,7 @@ object SoraExtractor : SoraStream() {
}
val headers = mapOf(
"Cookie" to "PHPSESSID=e555h63ilisoj2l6j7b5d4jb6p; _csrf=9597150e45f485ad9c4f2e06a2572534d8415337eda9d48d0ecfa25b73b6a9e1a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222HcnegjGB0nX205FAUPb86fqMx9HWIF1%22%3B%7D; _ga=GA1.1.1195498587.1701871187; _ga_VZD7HJ3WK6=GS1.1.$unixTimeMS.2.0.$unixTimeMS.0.0.0",
"Cookie" to "PHPSESSID=e555h63ilisoj2l6j7b5d4jb6p; _csrf=9597150e45f485ad9c4f2e06a2572534d8415337eda9d48d0ecfa25b73b6a9e1a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222HcnegjGB0nX205FAUPb86fqMx9HWIF1%22%3B%7D; _ga=GA1.1.1195498587.1701871187; _ga_VZD7HJ3WK6=GS1.1.$unixTimeMS.4.0.1.$unixTimeMS.0.0.0",
"Connection" to "keep-alive",
"x-requested-with" to "com.wwcinematv",
)

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 11
version = 12
cloudstream {

View file

@ -13,8 +13,9 @@ import com.lagradost.cloudstream3.utils.AppUtils.toJson
import java.net.URI
import java.util.ArrayList
import kotlin.math.roundToInt
import com.lagradost.cloudstream3.metaproviders.TmdbProvider
open class StremioX : MainAPI() {
open class StremioX : TmdbProvider() {
override var mainUrl = "https://torrentio.strem.fun"
override var name = "StremioX"
override val hasMainPage = true
@ -181,6 +182,7 @@ open class StremioX : MainAPI() {
this.showStatus = getStatus(res.status)
this.recommendations = recommendations
this.actors = actors
this.contentRating = fetchContentRating(data.id, "US")
addTrailer(trailer)
addTMDbId(data.id.toString())
addImdbId(res.external_ids?.imdb_id)
@ -202,6 +204,7 @@ open class StremioX : MainAPI() {
this.rating = rating
this.recommendations = recommendations
this.actors = actors
this.contentRating = fetchContentRating(data.id, "US")
addTrailer(trailer)
addTMDbId(data.id.toString())
addImdbId(res.external_ids?.imdb_id)