Commit d9e952a9 authored by Pierre Ynard's avatar Pierre Ynard

youtube.lua: update to (months-old) website changes

parent 7d1a3a85
......@@ -142,8 +142,8 @@ function parse()
_,_,artist = string.find( line, "href=\"/user/([^\"]*)\"" )
end
-- JSON parameters, also formerly known as "swfConfig",
-- "SWF_ARGS", "swfArgs", "PLAYER_CONFIG" ...
if string.match( line, "playerConfig" ) then
-- "SWF_ARGS", "swfArgs", "PLAYER_CONFIG", "playerConfig" ...
if string.match( line, "ytplayer%.config" ) then
if not fmt then
fmt_list = string.match( line, "\"fmt_list\": \"(.-)\"" )
if fmt_list then
......
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