Update Tenshi URL

For #34
This commit is contained in:
763499 2023-01-29 12:03:37 -07:00 committed by GitHub
parent fb2d0e98f4
commit 6e8c952f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,7 +314,7 @@ class TenshiProvider : MainAPI() {
for (source in soup.select("""[aria-labelledby="mirror-dropdown"] > li > a.dropdown-item""")) { for (source in soup.select("""[aria-labelledby="mirror-dropdown"] > li > a.dropdown-item""")) {
val release = source.text().replace("/", "").trim() val release = source.text().replace("/", "").trim()
val sourceHTML = app.get( val sourceHTML = app.get(
"https://tenshi.moe/embed?v=${source.attr("href").split("v=")[1].split("&")[0]}", "https://marin.moe/embed?v=${source.attr("href").split("v=")[1].split("&")[0]}",
headers = mapOf("Referer" to data), interceptor = ddosGuardKiller headers = mapOf("Referer" to data), interceptor = ddosGuardKiller
).text ).text