mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-18 12:14:27 -05:00
Fix videoplayback when encountering redirector URLs
This commit is contained in:
parent
69ab236f3f
commit
a95958f9f6
@ -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 New Issue
Block a user