mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
In Frenchstream dood is in reality streamlare
This commit is contained in:
parent
2d2f71a24a
commit
1c0e397829
1 changed files with 4 additions and 1 deletions
|
@ -211,6 +211,9 @@ class FrenchStreamProvider : MainAPI() {
|
||||||
if (playerName.contains("Stream.B")) {
|
if (playerName.contains("Stream.B")) {
|
||||||
playerName = it.first.replace("Stream.B", "StreamSB")
|
playerName = it.first.replace("Stream.B", "StreamSB")
|
||||||
}
|
}
|
||||||
|
if (it.second.contains("streamlare")) {
|
||||||
|
playerName = "Streamlare"
|
||||||
|
}
|
||||||
if (playerName.contains(extractor.name, ignoreCase = true)) {
|
if (playerName.contains(extractor.name, ignoreCase = true)) {
|
||||||
val header = app.get(
|
val header = app.get(
|
||||||
"https" + it.second.split("https").get(1),
|
"https" + it.second.split("https").get(1),
|
||||||
|
@ -219,7 +222,6 @@ class FrenchStreamProvider : MainAPI() {
|
||||||
println(header)
|
println(header)
|
||||||
val urlplayer = it.second
|
val urlplayer = it.second
|
||||||
var playerUrl = when (!urlplayer.isNullOrEmpty()) {
|
var playerUrl = when (!urlplayer.isNullOrEmpty()) {
|
||||||
urlplayer.contains("uqload") -> it.second
|
|
||||||
urlplayer.contains("opsktp.com") -> header.get("location")
|
urlplayer.contains("opsktp.com") -> header.get("location")
|
||||||
.toString() // case where there is redirection to opsktp
|
.toString() // case where there is redirection to opsktp
|
||||||
|
|
||||||
|
@ -307,3 +309,4 @@ class FrenchStreamProvider : MainAPI() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue