From b5e08529c5257589df14cea7942bacf634f7ba54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 19 Aug 2007 19:16:28 +0000 Subject: [PATCH] Fixes youtube parsing on www.youtube.com website --- share/luaplaylist/youtube.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/luaplaylist/youtube.lua b/share/luaplaylist/youtube.lua index b8e9ee451d..90b4b9c958 100644 --- a/share/luaplaylist/youtube.lua +++ b/share/luaplaylist/youtube.lua @@ -33,7 +33,7 @@ function parse() artist = string.gsub( line, ".*subscribe_to_user=([^&]*).*", "%1" ) end if string.match( line, "player2.swf" ) then - video_id = string.gsub( line, ".*BASE_YT_URL=http://youtube.com/&video_id=([^\"]*).*", "%1" ) + video_id = string.gsub( line, ".*&video_id=([^\"]*).*", "%1" ) end if name and description and artist and video_id then break end end -- 2.39.2