Update YallaShootsProvider.kt

This commit is contained in:
Zaw 2022-08-17 22:50:52 +03:00 committed by GitHub
parent da4a07640e
commit 62caf3f96e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class YallaShoots : MainAPI() {
callback: (ExtractorLink) -> Unit
): Boolean {
val doc = app.get("$data?serv=2").document
val sourceLink = doc.select("script:contains(.m3u8)").html().replace(".*hls: \"|\"\\};.*".toRegex(),"")
val sourceLink = doc.select("script:contains(.m3u8)").html().replace(".*hls: \"|\"};.*".toRegex(),"")
callback.invoke(
ExtractorLink(
this.name,
@ -83,4 +83,4 @@ class YallaShoots : MainAPI() {
)
return true
}
}
}