mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Fixes
This commit is contained in:
parent
7ca9b60e51
commit
95abd69d84
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ object SoraItalianExtractor : SoraItalianStream() {
|
||||||
val link = response.select("a.bottone-ep")
|
val link = response.select("a.bottone-ep")
|
||||||
.find { it.text().substringAfter("Episodio ") == episode.toString() }
|
.find { it.text().substringAfter("Episodio ") == episode.toString() }
|
||||||
?.attr("href")
|
?.attr("href")
|
||||||
if (link?.isBlank() == true) { //links exists
|
if (link?.isBlank() == false) { //links exists
|
||||||
val page = app.get(link).document
|
val page = app.get(link).document
|
||||||
val episodeLink = page.select("div.card-body > a[href*=watch]").attr("href")
|
val episodeLink = page.select("div.card-body > a[href*=watch]").attr("href")
|
||||||
?: throw ErrorLoadingException("No link Found")
|
?: throw ErrorLoadingException("No link Found")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue