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