mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
b93f93a0d8
commit
f264613336
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,9 @@ object SoraExtractor : SoraStream() {
|
|||
?.substringBefore("/")?.toIntOrNull()
|
||||
titleMedia.equals(title, true) || titleMedia.createSlug().equals(title.createSlug()) &&
|
||||
if (season == null) {
|
||||
yearMedia == year && url?.contains("/series/") == true
|
||||
yearMedia == year && url?.contains("/movie/") == true
|
||||
} else {
|
||||
lastSeasonMedia == lastSeason && url?.contains("/movie/") == true
|
||||
lastSeasonMedia == lastSeason && url?.contains("/series/") == true
|
||||
}
|
||||
} ?: return
|
||||
|
||||
|
|
Loading…
Reference in a new issue