Playlet decipher server (#691)
* Playlet decipher server * cache sts * wip * PoToken per video * remove unused param * potoken mandatory for videos * separate potoken option * logging * rename * /player with auth * Refactor rename * Fix rename * parse isloggedin tweak * TODO * get rid of hardcoded formats * Remove hardcoded formats in web app * refactor * no cache for sts request * [skip ci] todo * [skip ci] update PRVACY * No visitor data if we're using a profile * Cancellation * remove visitor data header for authed /player * iOS fallback for live videos * changelog * revert using dashUrl * refactor
This commit is contained in:
1 parent
f29f0b3654
commit
7518831b65
15 files changed
+408
-145
No files matched your search
@@ -26,14 +26,14 @@ namespace Http
|
||||
v = request.query.v
|
||||
local = request.query.local
|
||||
quality = request.query.quality
|
||||
ytjs = request.query.ytjs
|
||||
hasDecodedDashUrls = request.query.hasDecodedDashUrls
|
||||
|
||||
if StringUtils.IsNullOrEmpty(v)
|
||||
response.Default(400, "Missing video id")
|
||||
return true
|
||||
end if
|
||||
|
||||
if ValidString(ytjs) = "true"
|
||||
if ValidString(hasDecodedDashUrls) = "true"
|
||||
player = m.videoQueueNode.player
|
||||
if player = invalid
|
||||
response.Default(500, "videoQueue.player is invalid")
|
||||
|
||||
Reference in new issue
Block a user