Fix videoplayback when encountering redirector URLs

This commit is contained in:
Omar Roth 2019-05-30 20:47:04 -05:00
parent 69ab236f3f
commit a95958f9f6
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
1 changed files with 2 additions and 1 deletions

View File

@ -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"]