mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
added YugenAnime
This commit is contained in:
parent
41f0122adb
commit
502b053950
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class YugenAnime : MainAPI() {
|
||||||
val iframe = doc.select("iframe#main-embed").attr("src") ?: return@apmap null
|
val iframe = doc.select("iframe#main-embed").attr("src") ?: return@apmap null
|
||||||
val id = iframe.removeSuffix("/").split("/").lastOrNull() ?: return@apmap null
|
val id = iframe.removeSuffix("/").split("/").lastOrNull() ?: return@apmap null
|
||||||
val source = app.post(
|
val source = app.post(
|
||||||
"https://yugen.to/api/embed/", data = mapOf(
|
"$mainUrl/api/embed/", data = mapOf(
|
||||||
"id" to id,
|
"id" to id,
|
||||||
"ac" to "0"
|
"ac" to "0"
|
||||||
), referer = iframe,
|
), referer = iframe,
|
||||||
|
|
Loading…
Reference in a new issue