Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
d9e952a9
Commit
d9e952a9
authored
Jul 22, 2013
by
Pierre Ynard
Browse files
youtube.lua: update to (months-old) website changes
parent
7d1a3a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/lua/playlist/youtube.lua
View file @
d9e952a9
...
...
@@ -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, "
player
C
onfig
" ) then
-- "
SWF_ARGS
", "
swfArgs
", "
PLAYER_CONFIG
"
, "
playerConfig
"
...
if string.match( line, "
yt
player
%
.
c
onfig
" ) then
if not fmt then
fmt_list = string.match( line, "
\
"fmt_list\"
:
\
"(.-)\"" )
if fmt_list then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment