mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
aigo
This commit is contained in:
parent
a1f720b878
commit
048d44f980
1 changed files with 3 additions and 3 deletions
|
@ -48,12 +48,12 @@ object SoraExtractor : SoraStream() {
|
||||||
val lastSeasonMedia =
|
val lastSeasonMedia =
|
||||||
ele.select("div.info-split > div:nth-child(2)").text().substringAfter("SS")
|
ele.select("div.info-split > div:nth-child(2)").text().substringAfter("SS")
|
||||||
.substringBefore("/").trim().toIntOrNull()
|
.substringBefore("/").trim().toIntOrNull()
|
||||||
titleMedia.equals(title, true) || titleMedia.createSlug().equals(title.createSlug()) &&
|
(titleMedia.equals(title, true) || titleMedia.createSlug().equals(title.createSlug())) &&
|
||||||
if (season == null) {
|
(if (season == null) {
|
||||||
yearMedia == year && url?.contains("/watch-movie/") == true
|
yearMedia == year && url?.contains("/watch-movie/") == true
|
||||||
} else {
|
} else {
|
||||||
lastSeasonMedia == lastSeason && url?.contains("/watch-series/") == true
|
lastSeasonMedia == lastSeason && url?.contains("/watch-series/") == true
|
||||||
}
|
})
|
||||||
} ?: return
|
} ?: return
|
||||||
|
|
||||||
val serversId = if (season == null) {
|
val serversId = if (season == null) {
|
||||||
|
|
Loading…
Reference in a new issue