Update dependencies, do not parse non json
This commit is contained in:
1 parent
7a155c689e
commit
c9e9e34b42
5 files changed
+56
-3328
No files matched your search
@@ -30,7 +30,7 @@ namespace Http
|
||||
dashUrl = `${dashUrl}?local=${local}`
|
||||
end if
|
||||
|
||||
resp = Requests().get(dashUrl)
|
||||
resp = Requests().get(dashUrl, { parseJson: false })
|
||||
text = resp.text ?? ""
|
||||
if resp.statuscode = 200 and local = "true"
|
||||
text = text.Replace("<BaseURL>/videoplayback", `<BaseURL>${instance}/videoplayback`)
|
||||
|
||||
Reference in new issue
Block a user