fixed LayarKacaProvider & IdlixProvider

This commit is contained in:
hexated 2022-10-23 04:08:57 +07:00
parent aeb9a2cc32
commit 5b6d22783e
4 changed files with 34 additions and 20 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 5
version = 6
cloudstream {
@ -24,5 +24,5 @@ cloudstream {
"AsianDrama",
)
iconUrl = "https://www.google.com/s2/favicons?domain=94.103.82.88&sz=%size%"
iconUrl = "https://www.google.com/s2/favicons?domain=109.234.36.69&sz=%size%"
}

View file

@ -282,7 +282,9 @@ class IdlixProvider : MainAPI() {
"post" to id,
"nume" to nume,
"type" to type
)
),
headers = mapOf("X-Requested-With" to "XMLHttpRequest"),
referer = data
).parsed<ResponseHash>().embed_url
when {