mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Remove run
This commit is contained in:
parent
5c4178af61
commit
023e9a2a1a
1 changed files with 8 additions and 7 deletions
|
@ -320,13 +320,13 @@ object SoraItalianExtractor : SoraItalianStream() {
|
|||
.let { // Old player
|
||||
it.first()?.attr("src")
|
||||
}
|
||||
?: run { //new player
|
||||
?: //new player
|
||||
Regex("\"(https[A-z0-9\\/\\:\\.]*\\.m3u8)\",").find(
|
||||
episodePage.select("script").find {
|
||||
it.toString().contains("jwplayer('player_hls').setup({")
|
||||
}.toString()
|
||||
)?.value
|
||||
}
|
||||
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
name,
|
||||
|
@ -368,4 +368,5 @@ fun fixUrl(url: String, domain: String): String {
|
|||
}
|
||||
return "$domain/$url"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue