mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix videoplayback when encountering redirector URLs
This commit is contained in:
parent
69ab236f3f
commit
a95958f9f6
1 changed files with 2 additions and 1 deletions
|
@ -4951,7 +4951,8 @@ get "/videoplayback" do |env|
|
|||
query_params = env.params.query
|
||||
|
||||
fvip = query_params["fvip"]? || "3"
|
||||
mns = query_params["mn"].split(",")
|
||||
mns = query_params["mn"]?.try &.split(",")
|
||||
mns ||= [] of String
|
||||
|
||||
if query_params["region"]?
|
||||
region = query_params["region"]
|
||||
|
|
Loading…
Reference in a new issue