mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
add source to AnimeSail
This commit is contained in:
parent
e32a531ed0
commit
67e0076896
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 1
|
version = 2
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
@ -7,7 +7,7 @@ cloudstream {
|
||||||
// All of these properties are optional, you can safely remove them
|
// All of these properties are optional, you can safely remove them
|
||||||
|
|
||||||
// description = "Lorem Ipsum"
|
// description = "Lorem Ipsum"
|
||||||
// authors = listOf("Cloudburst")
|
authors = listOf("Hexated")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Status int as the following:
|
* Status int as the following:
|
||||||
|
|
|
@ -171,6 +171,10 @@ class AnimeSailProvider : MainAPI() {
|
||||||
// skip for now
|
// skip for now
|
||||||
// iframe.startsWith("$mainUrl/utils/player/fichan/") -> ""
|
// iframe.startsWith("$mainUrl/utils/player/fichan/") -> ""
|
||||||
// iframe.startsWith("$mainUrl/utils/player/blogger/") -> ""
|
// iframe.startsWith("$mainUrl/utils/player/blogger/") -> ""
|
||||||
|
iframe.startsWith("https://aghanim.xyz/tools/redirect/") -> {
|
||||||
|
val link = "https://rasa-cintaku-semakin-berantai.xyz/v/${iframe.substringAfter("id=").substringBefore("&token")}"
|
||||||
|
loadExtractor(link, mainUrl, subtitleCallback, callback)
|
||||||
|
}
|
||||||
iframe.startsWith("$mainUrl/utils/player/framezilla/") || iframe.startsWith("https://uservideo.xyz") -> {
|
iframe.startsWith("$mainUrl/utils/player/framezilla/") || iframe.startsWith("https://uservideo.xyz") -> {
|
||||||
request(iframe, ref = data).document.select("iframe").attr("src")
|
request(iframe, ref = data).document.select("iframe").attr("src")
|
||||||
.let { link ->
|
.let { link ->
|
||||||
|
|
Loading…
Reference in a new issue