mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora: fixed shinobiMovie
This commit is contained in:
parent
d8b7d44a36
commit
6299dedf58
3 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 110
|
||||
version = 111
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -2426,7 +2426,7 @@ object SoraExtractor : SoraStream() {
|
|||
} else {
|
||||
app.post("${apiUrl}id2path", requestBody = pathBody, referer = apiUrl)
|
||||
}).text.let { path ->
|
||||
if (api == "RinzryMovies") {
|
||||
if (api in ddomainIndex) {
|
||||
val worker = app.get(
|
||||
"${fixUrl(path, apiUrl)}?a=view"
|
||||
).document.selectFirst("script:containsData(downloaddomain)")?.data()
|
||||
|
|
|
@ -87,6 +87,11 @@ val needRefererIndex = arrayOf(
|
|||
"ShinobiMovies",
|
||||
)
|
||||
|
||||
val ddomainIndex = arrayOf(
|
||||
"RinzryMovies",
|
||||
"ShinobiMovies"
|
||||
)
|
||||
|
||||
val mimeType = arrayOf(
|
||||
"video/x-matroska",
|
||||
"video/mp4",
|
||||
|
|
Loading…
Reference in a new issue