added YugenAnime

This commit is contained in:
hexated 2023-01-03 05:53:22 +07:00
parent 41f0122adb
commit 502b053950

View file

@ -133,7 +133,7 @@ class YugenAnime : MainAPI() {
val iframe = doc.select("iframe#main-embed").attr("src") ?: return@apmap null
val id = iframe.removeSuffix("/").split("/").lastOrNull() ?: return@apmap null
val source = app.post(
"https://yugen.to/api/embed/", data = mapOf(
"$mainUrl/api/embed/", data = mapOf(
"id" to id,
"ac" to "0"
), referer = iframe,