forked from recloudstream/cloudstream
small fix IndexSubtitle (#126)
This commit is contained in:
parent
365d470f82
commit
b83843d3ae
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class IndexSubtitleApi : AbstractSubApi {
|
||||||
} else {
|
} else {
|
||||||
document.select("div.my-3.p-3 div.media").mapNotNull { block ->
|
document.select("div.my-3.p-3 div.media").mapNotNull { block ->
|
||||||
val name =
|
val name =
|
||||||
block.selectFirst("strong.d-block.text-primary")?.text()?.trim().toString()
|
block.selectFirst("strong.d-block")?.text()?.trim().toString()
|
||||||
if (seasonNum!! > 0) {
|
if (seasonNum!! > 0) {
|
||||||
if (isRightEps(name, seasonNum, epNum)) {
|
if (isRightEps(name, seasonNum, epNum)) {
|
||||||
fixUrl(block.selectFirst("a")!!.attr("href"))
|
fixUrl(block.selectFirst("a")!!.attr("href"))
|
||||||
|
|
Loading…
Reference in a new issue