mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
testing
This commit is contained in:
parent
1576e77be1
commit
91d2d4dc47
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ open class StreamoUpload : ExtractorApi() {
|
|||
val sources = mutableListOf<ExtractorLink>()
|
||||
app.get(url, referer = referer).document.select("script").map { script ->
|
||||
if (script.data().contains("eval(function(p,a,c,k,e,d)")) {
|
||||
val subData =
|
||||
val data =
|
||||
getAndUnpack(script.data()).substringAfter("sources: [")
|
||||
.substringBefore("],").replace("file", "\"file\"").trim()
|
||||
tryParseJson<File>(subData)?.let {
|
||||
tryParseJson<File>(data)?.let {
|
||||
M3u8Helper.generateM3u8(
|
||||
name,
|
||||
it.file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue