- for path in string.gmatch( line, "http://movies.apple.com/movies/.-%.mov" ) do
- path = vlc.strings.decode_uri( path )
- if string.match( path, "320" ) then
- extraname = " (320p)"
- elseif string.match( path, "480" ) then
- extraname = " (480p)"
- elseif string.match( path, "640" ) then
- extraname = " (640p)"
- elseif string.match( path, "720" ) then
- extraname = " (720p)"
- elseif string.match( path, "1080" ) then
- extraname = " (1080p)"
- else
- extraname = ""
- end
- table.insert( p, { path = path; name = title..extraname; description = description; url = vlc.path; options = ":http-user-agent=\"QuickTime\"" } )
+
+ if string.match( line, "class=\".-first" ) then
+ description = find( line, "h%d.->(.-)</h%d")