Skip to content

Commit

Permalink
update stremiox
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjohn committed Dec 10, 2023
1 parent e008764 commit 4cdfa58
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Movierulzhd/src/main/kotlin/com/hexated/Animesaga.kt
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
2 changes: 1 addition & 1 deletion StremioX/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// use an integer for version numbers
version = 11
version = 12


cloudstream {
Expand Down
5 changes: 4 additions & 1 deletion StremioX/src/main/kotlin/com/hexated/StremioX.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down

1 comment on commit 4cdfa58

@DZFOORT
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ca marche pas

Please sign in to comment.