mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:17:07 -05:00 
			
		
		
		
	Improve swf player URL detection for RTMP (fixes issue #144)
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user