mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[funnyordie] Relax M3U8 URL matching
Also, m3u8_url extraction should be fatal as all formats depends directly or indirectly on it. This change fixes test_Generic_26 and TestFunnyOrDieSubtitles
This commit is contained in:
		| @@ -46,8 +46,8 @@ class FunnyOrDieIE(InfoExtractor): | ||||
|         links.sort(key=lambda link: 1 if link[1] == 'mp4' else 0) | ||||
|  | ||||
|         m3u8_url = self._search_regex( | ||||
|             r'<source[^>]+src=(["\'])(?P<url>.+?/master\.m3u8)\1', | ||||
|             webpage, 'm3u8 url', default=None, group='url') | ||||
|             r'<source[^>]+src=(["\'])(?P<url>.+?/master\.m3u8[^"\']*)\1', | ||||
|             webpage, 'm3u8 url', group='url') | ||||
|  | ||||
|         formats = [] | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan