Преглед изворни кода

Improve swf player URL detection for RTMP (fixes issue #144)

Ricardo Garcia пре 15 година
родитељ
комит
823fcda12a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube-dl

+ 1 - 1
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: