update Movierulzhd domain

This commit is contained in:
hexated 2022-09-22 02:06:43 +07:00
parent a6db92b2d4
commit c2fe2c9518
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -10,7 +10,7 @@ import com.lagradost.cloudstream3.utils.*
import org.jsoup.nodes.Element
class Movierulzhd : MainAPI() {
override var mainUrl = "https://movierulzhd.biz"
override var mainUrl = "https://ww5.movierulzhd.biz"
override var name = "Movierulzhd"
override val hasMainPage = true
override var lang = "hi"
@ -214,7 +214,9 @@ class Movierulzhd : MainAPI() {
callback: (ExtractorLink) -> Unit
): Boolean {
val document = app.get(data).document
val document = app.get(data
// , interceptor = interceptor
).document
val id = document.select("meta#dooplay-ajax-counter").attr("data-postid")
val type = if (data.contains("/movies/")) "movie" else "tv"