small fix

This commit is contained in:
hexated 2023-01-29 10:54:33 +07:00
parent 93cf4840a1
commit 5626049d94

View file

@ -2099,7 +2099,7 @@ object SoraExtractor : SoraStream() {
val query = if (season == null) {
"$title $year"
} else {
"$title S${episodeSlug}E${seasonSlug}"
"$title S${seasonSlug}E${episodeSlug}"
}
val media =
@ -2108,7 +2108,7 @@ object SoraExtractor : SoraStream() {
(if (season == null) {
media.name?.contains("$year") == true
} else {
media.name?.contains(Regex("(?i)S${episodeSlug}E${seasonSlug}")) == true
media.name?.contains(Regex("(?i)S${seasonSlug}E${episodeSlug}")) == true
}) && media.name?.contains(
"720p",
true