From 823fcda12a9263c8f058be2580e675eaaaf6fa7e Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Tue, 13 Jul 2010 18:22:34 +0200 Subject: [PATCH] Improve swf player URL detection for RTMP (fixes issue #144) --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 08297e2e0..f059887a6 100755 --- a/youtube-dl +++ b/youtube-dl @@ -847,7 +847,7 @@ class YoutubeIE(InfoExtractor): return # Attempt to extract SWF player URL - mobj = re.search(r'swfConfig.*"(http://.*?watch-.*?\.swf)"', video_webpage) + mobj = re.search(r'swfConfig.*"(http://.*?watch.*?-.*?\.swf)"', video_webpage) if mobj is not None: player_url = mobj.group(1) else: -- 2.22.2