From: Ricardo Garcia Date: Tue, 13 Jul 2010 16:22:34 +0000 (+0200) Subject: Improve swf player URL detection for RTMP (fixes issue #144) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=823fcda12a9263c8f058be2580e675eaaaf6fa7e;p=youtube-dl Improve swf player URL detection for RTMP (fixes issue #144) --- 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: