mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
remove parentheses for codefactor
This commit is contained in:
parent
9bd6623187
commit
fc6312c8b0
1 changed files with 2 additions and 2 deletions
|
@ -105,10 +105,10 @@ class FrenchStreamProvider : MainAPI() {
|
||||||
val listEpisode = soup.select("div.elink")
|
val listEpisode = soup.select("div.elink")
|
||||||
val tags = soup.select("ul.flist-col > li").getOrNull(1)
|
val tags = soup.select("ul.flist-col > li").getOrNull(1)
|
||||||
//val rating = soup.select("span[id^=vote-num-id]")?.getOrNull(1)?.text()?.toInt()
|
//val rating = soup.select("span[id^=vote-num-id]")?.getOrNull(1)?.text()?.toInt()
|
||||||
if ("<a" in (listEpisode[1]).toString()) { // check if VF is empty
|
if ("<a" in listEpisode[1].toString()) { // check if VF is empty
|
||||||
subEpisodes = listEpisode[1].takeEpisode(url) // return vostfr
|
subEpisodes = listEpisode[1].takeEpisode(url) // return vostfr
|
||||||
}
|
}
|
||||||
if ("<a" in (listEpisode[0]).toString()) {
|
if ("<a" in listEpisode[0].toString()) {
|
||||||
dubEpisodes = listEpisode[0].takeEpisode(url)// return vf
|
dubEpisodes = listEpisode[0].takeEpisode(url)// return vf
|
||||||
}
|
}
|
||||||
if (subEpisodes.isEmpty() && dubEpisodes.isEmpty()) {
|
if (subEpisodes.isEmpty() && dubEpisodes.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue