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
93cf4840a1
commit
5626049d94
1 changed files with 2 additions and 2 deletions
|
@ -2099,7 +2099,7 @@ object SoraExtractor : SoraStream() {
|
||||||
val query = if (season == null) {
|
val query = if (season == null) {
|
||||||
"$title $year"
|
"$title $year"
|
||||||
} else {
|
} else {
|
||||||
"$title S${episodeSlug}E${seasonSlug}"
|
"$title S${seasonSlug}E${episodeSlug}"
|
||||||
}
|
}
|
||||||
|
|
||||||
val media =
|
val media =
|
||||||
|
@ -2108,7 +2108,7 @@ object SoraExtractor : SoraStream() {
|
||||||
(if (season == null) {
|
(if (season == null) {
|
||||||
media.name?.contains("$year") == true
|
media.name?.contains("$year") == true
|
||||||
} else {
|
} else {
|
||||||
media.name?.contains(Regex("(?i)S${episodeSlug}E${seasonSlug}")) == true
|
media.name?.contains(Regex("(?i)S${seasonSlug}E${episodeSlug}")) == true
|
||||||
}) && media.name?.contains(
|
}) && media.name?.contains(
|
||||||
"720p",
|
"720p",
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue