Commit 7ccee740 authored by Pierre Ynard's avatar Pierre Ynard

vimeo.lua: fix video quality parsing

parent 9c5430dc
......@@ -67,7 +67,7 @@ function parse()
-- Apparently the different formats available are listed
-- in uncertain order of quality, so compare with what
-- we have so far.
local height = string.match( stream, "\"height\":(%d+)[,}]" )
local height = string.match( stream, "\"height\":(%d+)" )
height = tonumber( height )
-- Better than nothing
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment