mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 02:32:56 +05:30
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
|
query_params = env.params.query
|
||||||
|
|
||||||
fvip = query_params["fvip"]? || "3"
|
fvip = query_params["fvip"]? || "3"
|
||||||
mns = query_params["mn"].split(",")
|
mns = query_params["mn"]?.try &.split(",")
|
||||||
|
mns ||= [] of String
|
||||||
|
|
||||||
if query_params["region"]?
|
if query_params["region"]?
|
||||||
region = query_params["region"]
|
region = query_params["region"]
|
||||||
|
Loading…
Reference in New Issue
Block a user