summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-07-13 18:22:34 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:28:17 +0100
commit823fcda12a9263c8f058be2580e675eaaaf6fa7e (patch)
tree228c8e33bc2a34cbbe490320267e0b591096c304
parentf2413e67939cb833424f2036cba627bdb164abfb (diff)
downloadyoutube-dl-823fcda12a9263c8f058be2580e675eaaaf6fa7e.tar.gz
youtube-dl-823fcda12a9263c8f058be2580e675eaaaf6fa7e.tar.xz
youtube-dl-823fcda12a9263c8f058be2580e675eaaaf6fa7e.zip
Improve swf player URL detection for RTMP (fixes issue #144)
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
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: