mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-15 13:06:26 +00:00
Add 'sort_by' to /api/v1/comments
This commit is contained in:
@@ -608,14 +608,6 @@ def extract_player_config(body, html)
|
||||
params["session_token"] = md["session_token"]
|
||||
end
|
||||
|
||||
if md = body.match(/itct=(?<itct>[^"]+)"/)
|
||||
params["itct"] = md["itct"]
|
||||
end
|
||||
|
||||
if md = body.match(/'COMMENTS_TOKEN': "(?<ctoken>[^"]+)"/)
|
||||
params["ctoken"] = md["ctoken"]
|
||||
end
|
||||
|
||||
if md = body.match(/'RELATED_PLAYER_ARGS': (?<rvs>{"rvs":"[^"]+"})/)
|
||||
params["rvs"] = JSON.parse(md["rvs"])["rvs"].as_s
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user